Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Re: Pattern match location findingby pzbagel (Chaplain) |
on Feb 18, 2004 at 20:50 UTC ( [id://330055]=note: print w/replies, xml ) | Need Help?? |
Downside of your approach is that you assume the query string will always be one character. diotalevi's approach does not suffer that limitation. Definately works with the test case feloniousMonk presented, but fM refers to 'B' as a query string implying that it could be multiple characters in some cases.
In Section
Seekers of Perl Wisdom
|
|