This is actually fairly easy to parse, although it takes a couple of steps. Either of the two will work:
or
Sometimes, your problems don't fit into a module, and you just have to roll your own:
my $character = '°'; while ( my $line = <FILE> ) { chomp $line; $line =~ s/_/$character/go; $line =~ s/${character}UNSC$character/go; my @fields = split /$character/, $line; # do something }
In reply to Re: DBD::CSV and really bad legacy flat file
by jhourcle
in thread DBD::CSV and really bad legacy flat file
by harleypig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |