Larry Wall skribis 2005-05-14  8:29 (-0700):
> :     say [x];
> : Is it a repeating metaoperator on an empty list, or a single-element
> : array reference that contains the return value of calling &x()?
> Always the first.  [x] doesn't have to do lookahead.

Does this mean that [x] is just an interesting way to create an empty
list? And undef in scalar context?

Very neat for obfuscation: return [%]; and let people wonder why the
heck that [%] is there :)


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to