natxo has asked for the wisdom of the Perl Monks concerning the following question:
The script works perfectly fine otherwise, this is just a cosmetic annoyance as far as I am concerned.while ( my ( $key, $value) = each $HoA ) { print $key . " "; for ( @$value ) { print "$_ "; } }
Update:
Thanks for both suggestions, very informative.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: each on reference is experimental at
by Corion (Patriarch) on Sep 28, 2015 at 12:52 UTC | |
|
Re: each on reference is experimental at
by Athanasius (Archbishop) on Sep 28, 2015 at 13:01 UTC | |
by ikegami (Patriarch) on Sep 28, 2015 at 16:45 UTC | |
|
Re: each on reference is experimental at
by Anonymous Monk on Sep 28, 2015 at 15:57 UTC | |
by stevieb (Canon) on Sep 28, 2015 at 17:42 UTC | |
by dave_the_m (Monsignor) on Sep 28, 2015 at 18:30 UTC | |
by ikegami (Patriarch) on Sep 28, 2015 at 19:20 UTC |