Help for this page

Select Code to Download


  1. or download this
    open FILE, "path/to/file";
    local $/ = "\n\n";
    my $first_part = <FILE>;
    
  2. or download this
    open FILE, "path/to/file";
    local $/ = undef;
    ...
    my $second_part = 
      reverse substr $whole_file, $first_blank_pos;