in reply to Re^2: Comparison between a string and an array
in thread Comparison between a string and an array
I thought my$match,$res; the same as writing
my$match; my$res;
I'm just declaring both on one line.
Anyway it was just a rough (working) code fart. If I was gonna bother with strict then I'd even add the shebang! and a "use warning" , but yeah nah, point taken. I'll leave out the local or global declarations next time to make it more obvious, cheers -SJ-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Comparison between a string and an array
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 |