Ingo Blechschmidt skribis 2005-08-31 13:22 (+0000): > @array = $arrayref; # really means > @array = ($arrayref,); # same as > @array = (); @array[0] = $arrayref; # thus > say [EMAIL PROTECTED]; # always 1 > # Correct?
Yes, although at some point there was this weird notion of scalars automatically dereferencing in list context, in this respect Perl 6 currently is sane. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html