Help for this page

Select Code to Download


  1. or download this
    {
      local $/ = '<tag>';
    ...
        # do stuff
      }
    }
    
  2. or download this
       Setting $/ to a reference to an integer, scalar 
       containing an integer, or scalar that's convertible to an
    ...
       then you'll likely get a full chunk of data with
       every read.  If a record is larger than the record size 
       you've set, you'll get the record back in pieces.