Help for this page

Select Code to Download


  1. or download this
    open (my $myfile, "$i") or die...
    open (my $myfile, "<$i")or die... #no space after <
    open (my $myfile, '<', "$i") or die...
    open (my $myfile, '<', \$i) or die...
    take your pick...
    
  2. or download this
    $ cat abc/abc.txt
    line 1
    line 2
    $
    
  3. or download this
    use strict;
    use warnings;
    ...
       };
    
    print qq{\n};
    
  4. or download this
    
    Test 1:
    ...
    
    Test 5:
    abc/abc.txt