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

Re: Parsing attributes in one line using map

by izut (Chaplain)
on Sep 25, 2006 at 10:34 UTC ( #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
Node Status?
node history
Node Type: note [id://574711]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-01-21 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?