in reply to Stringified hash
use strict; use warnings; my %hash = ( A => 'a', B => 'b', C => 'c', D => 'd', E => 'e', F => 'f' ); my @x = %hash; print "@x\n";
Basically, you're imposing list context on the hash, which gives you back the key-value pairs (in semi-random order). The @{[ ... ]} construct is a way of imposing list context within an interpolating string. *shrugs* Neat corner case. :-)
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
|
|---|