Help for this page

Select Code to Download


  1. or download this
    {
        local $/ = undef;
        $_ = <FH>;
    }
    
  2. or download this
         $/      The input record separator, newline by default.
                 Works like awk's RS variable, including treating
    ...
    
                 Remember: the value of $/ is a string, not a regexp.
                 AWK has to be better for something :-)