Changeset 7606 for lib/Perl6/Pugs.pm

Show
Ignore:
Timestamp:
10/14/05 13:01:26 (3 years ago)
Author:
autrijus
Message:

* Add notes to Perl6::Pugs and pugs::run documentation about

the use of -- to separate pugs options and program options.
Reported by r0nny.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lib/Perl6/Pugs.pm

    r7515 r7606  
    1717    % pugs -e "{ 'Hello, ', @^x }.('World!').say" 
    1818    Hello, World! 
     19 
     20With Perl 5 embedding support (also note the C<--> in the C<#!> line): 
     21 
     22    #!/usr/bin/pugs -- 
     23    use v6; 
     24    use perl5:DBI; 
     25    my $dbh = DBI.connect('dbi:SQLite:dbname=test.db'); 
     26    $dbh.do("CREATE TABLE Test (Project, Pumpking)"); 
    1927 
    2028=head1 DESCRIPTION