Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Parsing attributes in one line using map

by izut (Chaplain)
on Sep 25, 2006 at 10:34 UTC ( [id://574711]=note: print w/replies, xml ) Need Help??


in reply to Parsing attributes in one line using map

You can do this (borrowed from 'Perl for System Administrators'):
my %attrs = split /=|,/, $attr;

Igor 'izut' Sutton
your code, your rules.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found