use strict; open FILE,"data.txt" or die "could not open data.txt: $!\n"; # set seperator to ">" local $/ = ">"; # chuck first one my $junk = <FILE>; while(my $record = <FILE>){ chomp $record; # do important stuff }
In reply to Re: Input record separator
by fletcher_the_dog
in thread Input record separator
by travisbickle34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |