Permalink
Browse files

Make $!, $/ and $_ default Nil

  • Loading branch information...
1 parent c52f245 commit 0c2d61f45a0df6bbdcdc62ec57af92faddd2f58c @lizmat lizmat committed Jul 9, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/traits.pm
View
@@ -2,9 +2,9 @@ use Perl6::BOOTSTRAP;
# Declare these, as setting mainline doesn't get them automatically (as the
# Mu/Any/Scalar are not loaded).
-my $!;
-my $/;
-my $_;
+my $! is default(Nil);
+my $/ is default(Nil);
+my $_ is default(Nil);
# Stub a few things the compiler wants to have really early on.
my class Pair { ... }

0 comments on commit 0c2d61f

Please sign in to comment.