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.
- functions that deal with hash should be more liberal Jerrad Pierce
- Re: functions that deal with hash should be more ... Tom Christiansen
- Re: functions that deal with hash should be m... Casey R. Tweten
- Re: functions that deal with hash should ... Tom Christiansen
- Re: functions that deal with hash sho... Casey R. Tweten
- Re: functions that deal with has... Tom Christiansen
- Re: functions that deal with... Casey R. Tweten
- Re: functions that deal with has... Nathan Torkington
- Re: functions that deal with... Chaim Frenkel
- Re: functions that deal with has... Jonathan Scott Duff
- Re: functions that deal with hash should ... John Porter
- Re: functions that deal with hash sho... Casey R. Tweten
- Re: functions that deal with hash should be more ... Jerrad Pierce
- Re: functions that deal with hash should be m... Tom Christiansen
- Re: functions that deal with hash should be more ... Jerrad Pierce
- Re: functions that deal with hash should be m... Tom Christiansen
- Re: functions that deal with hash should be m... John Porter
- Re: functions that deal with hash should be more ... Jerrad Pierce
- Re: functions that deal with hash should be m... Tom Christiansen
