Show
Ignore:
Timestamp:
08/01/08 10:38:42 (5 months ago)
Author:
fglock
Message:

[v6.pm] 0.032

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • perl5/Pugs-Compiler-Perl6/lib/Pugs/Runtime/Perl6Prelude.pm

    r21654 r21663  
    2323# sub sleep($seconds) is export { use v5; CORE::sleep($seconds); use v6; } 
    2424 
    25 sub open($file, :$w? ) { use v5; my $fh = IO::File->new; $fh->open($file, ($w ? 'w' : ()) ) || warn "can't open file $file"; $fh; use v6; } 
     25sub open($file, :$w? ) {  
     26    use v5;  
     27    my $fh = Pugs::Runtime::Perl6::IO::File->new;  
     28    $fh->open($file, ($w ? 'w' : ()) ) || warn "can't open file $file";  
     29    $fh;  
     30    use v6;  
     31} 
    2632 
    2733module Pugs::Internals;