Changeset 11262 for lib

Show
Ignore:
Timestamp:
07/07/06 09:15:38 (2 years ago)
Author:
Darren_Duncan
Message:

updated a few more files to remove pugs shebangs ... in this commit and several previous, also updated some documentation concerning shebangs

Location:
lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lib/Perl6/Pugs.pm

    r10909 r11262  
    2020With Perl 5 embedding support (also note the C<--> in the C<#!> line): 
    2121 
    22     #!/usr/bin/pugs -- 
    2322    use v6; 
    2423    use perl5:DBI; 
  • lib/Pugs/Doc/Hack.pod

    r11216 r11262  
    266266=head2 Shebang lines 
    267267 
    268 All test files should use C<#!/usr/bin/pugs> as the shebang line (first line of 
    269 the script). There're no real technical reasons for this convention, it's just 
    270 for consistency. Remember to put a C<use v6> in the beginning of your Perl 6 
    271 programs, too, to keep perl5 from accidentally running Perl 6 code. 
     268All test files should not use any shebang line, as they specify a single 
     269runtime for the code but Perl 6 code should run under multiple runtimes, 
     270Pugs and the v6 Perl 5 module to name two.  Remember to put a C<use v6> in 
     271the beginning of your Perl 6 programs, too, to keep perl5 from accidentally 
     272running Perl 6 code. 
    272273 
    273274=head2 Naming conventions