Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Mapping an array to a string

by moritz (Cardinal)
on Jan 08, 2008 at 09:08 UTC ( [id://661033]=note: print w/replies, xml ) Need Help??


in reply to Mapping an array to a string

What should that mapping looking like?

You can do something like

use Data::Dumper; my $string = Dumper \@array;

Which represents an array as a string, but it doesn't use a hash (at least not visibly).

Could you rephrase your question, and provide one or two examples what the result should look like?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found