Still its a moot point. 'eq' wins hands down over the equivalent anchored regex, i.e. $thing =~ /^thing$/. Its faster, cleaner, and easier to debug....
-Blake
In reply to Re: Which is better when doing a simple match?
by blakem
in thread Which is better when doing a simple match?
by mr.dunstan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |