Help for this page

Select Code to Download


  1. or download this
    print STDERR "This is line 1.\n";
    
    ...
    print $which_stream "This is line 3.\n";
    
    #print $hash{key} "This is line 4.\n";
    
  2. or download this
    This is line 1.
    This is line 2.
    The value of the hash variable is STDOUT.
    This is line 3.
    
  3. or download this
    String found where operator expected at test.pl line 12, near "} "This
    + is line 4.\n""
            (Missing operator before  "This is line 4.\n"?)
    syntax error at test.pl line 12, near "} "This is line 4.\n""
    Execution of test.pl aborted due to compilation errors.