Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 scrutinizing the Monastery: (13)
As of 2015-07-28 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls