Perl: the Markov chain saw | |
PerlMonks |
Re: My 'perldar' tells me there is a 'better' solution for this list operationby OfficeLinebacker (Chaplain) |
on Nov 03, 2006 at 22:45 UTC ( [id://582189]=note: print w/replies, xml ) | Need Help?? |
I see that two responses use a construct like
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 like Thanks, T P.S. I had no other word for that kind of intuitive feel for coding. _________________________________________________________________________________ I like computer programming because it's like Legos for the mind.
In Section
Seekers of Perl Wisdom
|
|