- Timestamp:
- 11/06/08 18:51:14 (2 months ago)
- Files:
-
- 1 modified
-
src/perl6/Cursor.pmc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/perl6/Cursor.pmc
r22900 r22901 133 133 local $::VOID = 1 if not defined wantarray; 134 134 local $::COMPILING::FILE = $file; 135 my $text = Encode::decode('utf8', `cat $file`); 135 open(FILE, '<:utf8', $file) or die "Can't open $file: $!\n"; 136 my $text; 137 { 138 local $/; 139 $text = <FILE>; 140 close FILE; 141 } 136 142 $class->new($text)->$rule(); 137 143 }
