Skip to content

Instantly share code, notes, and snippets.

@mlschroe
Created August 1, 2011 12:26
Show Gist options
  • Save mlschroe/1118036 to your computer and use it in GitHub Desktop.
Save mlschroe/1118036 to your computer and use it in GitHub Desktop.
--- src/Perl6/Actions.pm.orig 2011-08-01 11:05:44.000000000 +0000
+++ src/Perl6/Actions.pm 2011-08-01 12:21:22.000000000 +0000
@@ -3533,6 +3533,7 @@ class Perl6::Actions is HLL::Actions {
PAST::Var.new( :scope('lexical_6model'), :name('$_') ),
),
),
+ PAST::Var.new( :scope('lexical_6model'), :name('$/'), :isdecl(1) ),
PAST::Op.new( :pasttype('bind_6model'),
PAST::Var.new( :scope('lexical_6model'), :name('$!'), :isdecl(1) ),
PAST::Var.new( :scope('lexical_6model'), :name('$_') ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment