Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Use of uninitialized value $_ in pattern match (m//)?by hippo (Bishop) |
on Feb 29, 2016 at 15:19 UTC ( [id://1156454]=note: print w/replies, xml ) | Need Help?? |
The problem is that you have not set $_ anywhere either explicitly or implicitly. From your description it looks like you want to match against a filename so perhaps it is glob that you really want rather than m//?
In Section
Seekers of Perl Wisdom
|
|