@+ magic variable
Rafael Garcia-Suarez
rgarciasuarez at gmail.com
Thu Feb 15 15:41:09 GMT 2007
On 15/02/07, Luis Motta Campos <luismottacampos at yahoo.co.uk> wrote:
> > But punctuation variables don't fall in this category, they're not
> > subject to strictures.
>
> Even the non-magic, non-bounded ones, Rafael?
Certainly (less special cases make parsing faster). That's documented
in perlvar :
Perl identifiers that begin with digits, control characters, or
punctuation characters are exempt from the effects of the C<package>
declaration and are always forced to be in package C<main>; they are
also exempt from C<strict 'vars'> errors. A few other names are also
exempt in these ways:
ENV STDIN
INC STDOUT
ARGV STDERR
ARGVOUT _
SIG
More information about the london.pm
mailing list