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

Re: perl substitute

by LanX (Bishop)
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)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061076]
help
Chatterbox?
Discipulus second time; no questions.. o tempora o mores..
[1nickt]: I understood the first version ;-)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-11-24 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (354 votes). Check out past polls.

    Notices?