Help for this page

Select Code to Download


  1. or download this
    open my $handle, "<", $ARGV[0] or die "Couldn't open file: $!"; # safe
    +r way to open a file for reading.
    while (<$handle>)
    {
    ...
        # Some code
      }
    }