in reply to Use of uninitialized value $_ in pattern match (m//)?
What is your match trying to match against?
Usually, you have a variable to the left of the match statement. If you don't have that, Perl will use the default topic, $_ to match.
What is the value of $_ and where do you set it?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Use of uninitialized value $_ in pattern match (m//)?
by fasoli (Beadle) on Feb 29, 2016 at 15:36 UTC | |
by poj (Abbot) on Feb 29, 2016 at 15:46 UTC | |
by Corion (Patriarch) on Feb 29, 2016 at 15:42 UTC | |
by AnomalousMonk (Archbishop) on Feb 29, 2016 at 16:22 UTC |