Welcome to the Monastery | |
PerlMonks |
Re: mapping warning from an eval code to actual line in textby kcott (Archbishop) |
on May 10, 2013 at 11:39 UTC ( [id://1032944]=note: print w/replies, xml ) | Need Help?? |
G'day ISAI student, "I could not find in the subroutine any usage of $_ in pattern matching. Thanks." $_ is the default variable to match against (see perlrequick). So, $_ =~ /$pat/ can be written as just /$pat/. I can only suggest that you might need to be looking for constructs like:
-- Ken
In Section
Seekers of Perl Wisdom
|
|