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

Re: perl substitute

by LanX (Canon)
on Nov 03, 2013 at 21:18 UTC ( #1061076=note: print w/ replies, xml ) Need Help??


in reply to perl substitute

Why the hell do you try to combine XML::LibXML with regexes?

(update: deleted some phrases about random coding)

To answer your question, your substitutes only operate on $_ not $doc.

Cheers Rolf

( addicted to the Perl Programming Language)


Comment on Re: perl substitute

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-08-30 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (350 votes), past polls