Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Parse tags into an array

by LanX (Saint)
on Jan 15, 2013 at 19:55 UTC ( [id://1013451]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       @tag = split ' ', $line, 2;
       $field{ $tag[0] } = $tag[1];
    
  2. or download this
       $bill{ $field{ACCOUNT} } = $field{BILLAMOUNT}  if %field;
       %field = ();
    
  3. or download this
      $bill{ $field{ACCOUNT} } = { %field }  if %field;
      %field = ();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (11)
As of 2024-04-18 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found