Skip to content

Commit

Permalink
New initializer for $*PERL
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 7, 2014
1 parent eb9b209 commit 559027b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/core/Perl.pm
Expand Up @@ -27,10 +27,9 @@ class Perl does Systemic {
method KERNELnames { <darwin linux win32> }
}

PROCESS::<$PERL> := Proxy.new(
FETCH => -> $ { PROCESS::<$PERL> := my $ = Perl.new; },
STORE => -> $, $val { PROCESS::<$PERL> := my $ = $val; });

multi sub INITIALIZE('$*PERL') {
PROCESS::<$PERL> := Perl.new;
}
multi postcircumfix:<{ }> (Perl $d, "name" ) {
DEPRECATED('$*PERL.name', :what('$*PERL<name>') );
$d.name
Expand Down

0 comments on commit 559027b

Please sign in to comment.