Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Parsing named parameters

by samizdat (Vicar)
on Nov 07, 2005 at 14:43 UTC ( [id://506350]=note: print w/replies, xml ) Need Help??


in reply to Parsing named parameters

An elegant solution that was given to me for a similar problem was to first REVERSE the string. {Re: how to find what's not there with a regex? in how to find what's not there with a regex?} There is always only one token before the '=', so it is much easier to parse "everything up to the '='" and then "one token after the '='". Then, reverse again.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found