Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Parsing using m//g

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (12)
As of 2014-07-30 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls