XP is just a number | |
PerlMonks |
Re: Useless Programby httptech (Chaplain) |
on Jun 01, 2000 at 17:05 UTC ( [id://15800]=note: print w/replies, xml ) | Need Help?? |
Also, since $name isn't going to change during the course
of the program, use the 'o' modifier to tell perl to compile
the regex once instead of every time it is evaluated. This
will speed up your search.
/^$name$/io
In Section
Seekers of Perl Wisdom
|
|