Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Concerning hash operations (appending, concatenating)by manav (Scribe) |
on Mar 24, 2005 at 16:53 UTC ( [id://442114]=note: print w/replies, xml ) | Need Help?? |
The above solutions rely on interpreting the hash in a list context, in which it returns all its key value pairs flattened out. for eg, see the below code
which spews out Now, flattens out the key value pairs of %hash into a list. Hence it reduces to So on and so forth for code like
Manav
In Section
Seekers of Perl Wisdom
|
|