Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Parsing using m//g

by ikegami (Patriarch)
on Sep 25, 2006 at 16:00 UTC ( [id://574768]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $contents = do { local $/; <DATA> };
    
    ...
     more
    name4=
      value4
    
  2. or download this
    [name1 => value1]
    [name2 => value2]
    [name3 => value3]
    [name4 => value4]
    
  3. or download this
    my $contents = do { local $/; <DATA> };
    
    ...
    ) {
       print("[$1 => $2]\n");
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found