Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    
    # Perl, please inform me that the file MYFILE does not exist
    system ("cat $file" or $long_message());
    
  2. or download this
    # ./tester.cgi
    syntax error at ./tester.cgi line 16, near "$long_message("
    Execution of ./tester.cgi aborted due to compilation errors.
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $file = "MYFILE";
    
    system ("cat $file" or confess(),cluck(),carp());
    
  4. or download this
    cat: MYFILE: No such file or directory