- or download this
open OUT , '>', "outfilename" or die "unable to open out $!";
- or download this
my $test = '10GBE_ADDR1';
#decide if first part of line has ABC901X_ ...
print "new record\n" if $test =~ m/^[A-Z0-9a-z]+_/;
- or download this
sub print_record
{
...
@singlereference =(); #reset array to empty
return;
}