Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -I/usr/local/dcvp/bin
    use strict;
    ...
    #$? = 0; ### This fails correctly if we reset $? but reports success o
    +therwise
    die " *** THIS SHOULD FAIL *** ";
    print "At least we don't see this message...";
    
  2. or download this
    $ test3.pl && echo success  
    
    sh: asasas: not found
     *** THIS SHOULD FAIL ***  at test3.pl line 5.
    success
    
  3. or download this
    perl -V
    Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
    ...
        /opt/gnu/lib/perl5/site_perl/sun4-solaris
        /opt/gnu/lib/perl5/site_perl
        .