Keep It Simple, Stupid | |
PerlMonks |
Re: pattern match on entire fileby claree0 (Hermit) |
on Nov 14, 2001 at 18:52 UTC ( [id://125313]=note: print w/replies, xml ) | Need Help?? |
If the user input is always going to be straight text rather than a regular expression, then it may be faster to use grep.
In Section
Seekers of Perl Wisdom
|
|