Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Parsing... possible w/o too much stress ?

by hsmyers (Canon)
on Mar 19, 2003 at 15:47 UTC ( [id://244356]=note: print w/replies, xml ) Need Help??


in reply to Parsing... possible w/o too much stress ?

If there is the slightest chance that your braces or whatever will be nested, then avoid regexen for that part of the problem. I've used all of the solutions mentioned so far and while they will do the job with varying degrees of ease, the one I've found easiest is Text::DelimMatch. It does the obvious and will handle nesting as well.

--hsm

"Never try to teach a pig to sing...it wastes your time and it annoys the pig."
  • Comment on Re: Parsing... possible w/o too much stress ?

Log In?
Username:
Password:

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

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

    No recent polls found