>  my %hash = &func();
>  print "$_\n" foreach keys %hash;

>To work just like this:

>  print "$_\n" foreach keys &func();

>In my, 'pretending to just learn' mode, I don't understand.  Perl will assign
>the LIST to the hash in example one, but in example two, it croaks.

A LIST is not a HASH.  Learn that.  Be done with it.  Move on.

>Removing intermediate data structures is easy in Perl, but not this case,
>instead, I have to do this:

>%{{&func()}};

>How... not easy to learn.

>Especially since it's not documented.  Perhaps, at least for the current<SNIP>

Say what?

--tom

Reply via email to