Ingo Blechschmidt skribis 2005-09-06 19:46 (+0200):
> If \(...) still constructs a list of references, are the following
> assumptions correct?
IIRC, the RHS of \ is in scalar context, and the comma in scalar context
(the parens are just for precedence), creates an arrayref.
Which is interesting (and imho, a bad idea), because:
> \(@array); # same as
\(@array) and [EMAIL PROTECTED] are the same thing
> \(@array,); # same as
\(@array,) is [ @array ], NOT map { \$_ } @array
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html