John W. Krahn am Freitag, 7. April 2006 01.09:
> D. Bolliger wrote:
> > btw, @04 is not a valid (array) variable name; they must not start with a
> > digit, as not keyword/builtin does.
>
> $ perl -Mwarnings -Mstrict -le' our @04 = 10 .. 14; print "@04"'
> 10 11 12 13 14
>
> You are probably thinking scalars and/or lexicals.

John, 
yes I did:

$ perl -Mwarnings -Mstrict -le' my @04 = 10 .. 14; print "@04"'
Can't use global @04 in "my" at -e line 1, near "my @04 "
[...]

Now I get the idea of the hint in the error I was (for a too short time) 
wondering about!

Thanks!

Dani

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to