Help for this page

Select Code to Download


  1. or download this
    syntax error at - line 62, near "[some output from my command pipe]"
    Execution of - aborted due to compilation errors.
    
  2. or download this
         -p   causes Perl to assume the following loop around your
              program, which makes it iterate over filename arguments
    ...
                  } continue {
                      print or die "-p destination: $!\n";
                  }
    
  3. or download this
    % perl -MO=Deparse -pl40
    ^D
    ...
        print $_;
    }
    -e syntax OK
    
  4. or download this
    % cat >foo
    foo
    ...
    syntax error at - line 2, near "foo
    bar:"
    Execution of - aborted due to compilation errors.
    
  5. or download this
    % cat >foo
    print "hello, world\n"
    ^D
    % cat foo | perl
    hello, world