Perl: the Markov chain saw | |
PerlMonks |
Re: find a string in an array of arraysby Tanktalus (Canon) |
on Feb 06, 2008 at 22:01 UTC ( [id://666684]=note: print w/replies, xml ) | Need Help?? |
ITYM: Or you could have $_->[0] =~ $SearchStr - but then your dot would match any character, which is probably not what you intended. Update: Added parens as per lodin's comment, as if I hadn't bitten myself twice already today with that oversight ;-)
In Section
Seekers of Perl Wisdom
|
|