Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Split tags and words nicely

by tphyahoo (Vicar)
on Jan 02, 2007 at 10:24 UTC ( #592518=note: print w/replies, xml ) Need Help??

in reply to Split tags and words nicely

This looks like html, but maybe it's not.

If it's html, the other suggestions are good.

Otherwise, if you need to do something "regex like" but need more power than regexes can give you, the next step is to fire up Parse::RecDescent .

This should also become easier when perl6 goes production. There, you get all the powers of Parse::RecDescent bundled into the same syntactic sugar perlers are used to with =~ for regexes.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2016-10-28 11:59 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (383 votes). Check out past polls.