Help for this page

Select Code to Download


  1. or download this
    use 5.008000;  # open \$var
    open(my $fh, '<', \$var);
    while (<$fh>) {
       ...
    }
    
  2. or download this
    while ($var =~ /(.*\n|.+)/g) {
       ...
    }