Help for this page

Select Code to Download


  1. or download this
    local $/ = undef;
    my $record = <INPUT>;
    ...
    for my $chunk ( @chunks ) {
        my @lines = split /\n/ , $chunk;
    }
    
  2. or download this
    local $/ = undef;
    my $record = <INPUT>;
    ...
        my $chunk = shift;
        my @lines = split /\n/ , $chunk;
    }