Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 romping around the Monastery: (7)
As of 2014-12-19 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls