in reply to Problem with duplicate Entry in One frame
Update: Another thing I would do is to make sure each line has the right format before processing it:
The next statement will skip blank lines and lines that do not contain a |-delimiter.foreach my $stat1(@stat1) { chomp ($stat1); my $operacion; my $stado1; ($operacion,$stado1)=split(/\|/,$stat1); next unless defined($stado1); ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with duplicate Entry in One frame
by padawan_linuxero (Scribe) on May 19, 2008 at 22:16 UTC |