Help for this page

Select Code to Download


  1. or download this
    $contents=slurp('foobar');
    sub slurp {local$/=<>if local@ARGV=@_}
    
  2. or download this
     
    {local$/;$contents=<>if local@ARGV='foobar'};
    
  3. or download this
     
    $contents=join'',<_>if open _,'foobar';
    
  4. or download this
    $contents=`cat foobar`