in reply to My 'perldar' tells me there is a 'better' solution for this list operation
I must admit I have seen this before (especially the second line) and I don't understand it. Is it just shorthand for populating a hash's keys collection with the elements of an array? Almost likemy %h1; @h1{@l2}=();
Thanks,keys(%h1)=@l2; ?
_________________________________________________________________________________
I like computer programming because it's like Legos for the mind.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My 'perldar' tells me there is a 'better' solution for this list operation
by revdiablo (Prior) on Nov 04, 2006 at 01:45 UTC | |
|
Re^2: My 'perldar' tells me there is a 'better' solution for this list operation
by Roy Johnson (Monsignor) on Nov 03, 2006 at 22:53 UTC |