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.$_ = <>;
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re^2: regex help!
by QM
in thread regex help!
by igotlongestname
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |