Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # return.pl
    print STDERR "err1!\nerr2!\n";
    print STDOUT "out!\nout again!\n";
    exit 1;
    
  2. or download this
    #!/usr/bin/perl
    # test1.pl
    ...
    print "---\$?$n";     print $? . $n;
    print "---results$n"; foreach(@results) { print $_ . $n };
    print "---errors$n";  foreach(@errors)  { print $_ . $n };
    
  3. or download this
    ---pid
    1480
    ...
    ---errors
    err1!
    err2
    
  4. or download this
    #!/usr/bin/perl -w
    # test2.pl
    ...
    print "---return$n";  print $return>>8 , $n;
    print "---results$n"; foreach(@results) { print $_ . $n };
    print "---errors$n";  foreach(@errors)  { print $_ . $n };
    
  5. or download this
    err1!
    err2
    ...
    1
    ---results
    ---errors