Help for this page

Select Code to Download


  1. or download this
    my $data = do { local $/, <DATA> };
    
  2. or download this
    open my $fh, '<', $filename or die $!;
    while ( <$fh> ) {
        ... # process one line at a time
    }