Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Array to hash converstion

by davorg (Chancellor)
on Jul 15, 2009 at 09:15 UTC ( #780212=note: print w/replies, xml ) Need Help??

in reply to Re: Array to hash converstion
in thread Array to hash converstion

You want to use the each function.

I'm not sure I understand how "each" will solve this problem. I don't think that you do either, given that you haven't shown an example.

See (This was the second hit in a Google search for "perldoc print hash each".)

That's nicely self-referential, isn't it? How do you expect someone to come up with a Google search term that includes the name of the function they're looking for?


See the Copyright notice on my home node.

Perl training courses

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2016-10-24 03:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.