"...only report any errors if there are any"
If so, why not something simple like this:
while (<IN>) { print qq($1\n) if /^(E)/; print qq($1\n) if /^(G)/; die $1 if /^(h)/; }
Or do i still misunderstand the specs?
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re^3: Reading file and matching lines
by karlgoethebier
in thread Reading file and matching lines
by Jalcock501
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |