Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 exploiting the Monastery: (10)
As of 2014-09-18 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls