Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: pushing an anonymous hash onto an array on the fly

by choroba (Canon)
on Feb 22, 2013 at 22:52 UTC ( #1020243=note: print w/ replies, xml ) Need Help??


in reply to pushing an anonymous hash onto an array on the fly

I am not sure it is quite readable, but it works:

@{ $AoH[@AoH] }{ qw<source_id exchange_id status exchange desc depth_f +lag depth_indic> } = split /\|/;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: pushing an anonymous hash onto an array on the fly
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls