good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: reading from a text fileby robartes (Priest) |
on Jun 07, 2005 at 08:05 UTC ( [id://464179]=note: print w/replies, xml ) | Need Help?? |
Your second regex does not match because of a space between the [45]TEST and and the rest of the line in the input. Try this regex:
Notice the extra \s+ (match 1 or more whitespace characters). CU
In Section
Seekers of Perl Wisdom
|
|