Perl Monk, Perl Meditation | |
PerlMonks |
Re: Checking a pathby bellaire (Hermit) |
on Nov 18, 2009 at 17:17 UTC ( [id://807960]=note: print w/replies, xml ) | Need Help?? |
Using substr like you have in your example probably is the most efficient way to go about this. Usually, though, this kind of micro-efficiency isn't something you need to worry about unless you've done profiling and you know that you have good reason to seek an improvement.
In Section
Seekers of Perl Wisdom
|
|