in reply to Re: regex help!
in thread regex help!

<nitpick>
Just pointing out that the end of file may occur trying to do this:
$_ = <>;
I've done this before, and had the ubiquitous forehead-slapping-moment. Really need to check for this, because if the file ends at the wrong place, the <> will try to read from STDIN, which causes an annoying script/human deadlock.
</nitpick>

-QM
--
Quantum Mechanics: The dreams stuff is made of