Help for this page

Select Code to Download


  1. or download this
    $ perl -we "$file='X'; open my $fh, $file;"
    Parentheses missing around "my" list at -e line 1.
    
    $ perl -we "$file='X'; open my($fh), $file;"
    
  2. or download this
    $ perl -we "$file='X'; open my $fh, '<', $file;"