Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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 http://perldoc.perl.org/functions/each.html. (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


Comment on Re^2: Array to hash converstion

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2015-07-06 21:37 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 (83 votes), past polls