in reply to Re: Comparison between a string and an array
in thread Comparison between a string and an array
my$match,$res;
my has higher precedence than comma, so $res is an undeclared variable there. And since you're not using strict, why bother declaring at all?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Comparison between a string and an array
by sir_jeff (Novice) on Sep 26, 2016 at 10:53 UTC | |
by GotToBTru (Prior) on Sep 26, 2016 at 11:59 UTC | |
by sir_jeff (Novice) on Sep 27, 2016 at 03:04 UTC | |
by haukex (Archbishop) on Sep 27, 2016 at 10:03 UTC |