Casey R. Tweten wrote:
> 
> sub func {
>   return qw/KeyOne Value1 KeyTwo Value2/;
> }
> 
> print "$_\n" foreach keys &func();


Please.  There are ways -- well, just one way -- to do this, even in perl5.

        print "$_\n" foreach keys %{{ func() }};


-- 
John Porter

        We're building the house of the future together.

Reply via email to