Help for this page

Select Code to Download


  1. or download this
    my $count = 0;
    my @records = ();
    while (<IN>) {
    ...
        $count = ++$count % 6;
    }
    print join("\n",@records);
    
  2. or download this
    my $content = do {
        local $/;
        <IN>;
        };
    my @records = split /(?<=Metadata\: 1114890\n)/, $content;