in reply to Re: Re: Missing $ on loop variable?
in thread Missing $ on loop variable?
Thanks all of you, particularly Schemer for a quick and straightforward answer, and Anonymous Monk for the explanation of why it might be a useful error message for someone coming from a shell scripting background.
I still think perhaps "something between foreach and a list which is not a variable" would be a better error message though. I saw this construct as foreach, followed by something that I know returns a list, keys(%hashname), where's the error? It's kind of counter-intuitive for me at least.
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Missing $ on loop variable?
by Anonymous Monk on Nov 07, 2003 at 10:45 UTC | |
by Cody Pendant (Prior) on Nov 07, 2003 at 21:11 UTC |