I'm sorry to say this, but... if you were writing Perl in Perl, setting $/=";" is the fastest way to prove yourself unsuited to this task. not chomp.
In reply to Re^3: chop vs chomp
by Chady
in thread chop vs chomp
by Moron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |