Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: From a given text Extract the root HTML element inner text

by choroba (Chancellor)
on Dec 06, 2012 at 11:00 UTC ( #1007534=note: print w/replies, xml ) Need Help??


in reply to From a given text Extract the root HTML element inner text

Using XML::XSH2:
open :F html 1.html ; cd //text()[.="AAAAAA"] ; ls ancestor::div[1] ;
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007534]
help
Chatterbox?
[Lady_Aleena]: Rigth now I'm ranting in my head about an old subject.
[1nickt]: Hm, that is, how to prevent Perl from turning 1.0 into 1? I feel sure this must be an faq, but am reading perlnum and not finding the answer ...
[Lady_Aleena]: 1nickt, why does it matter in this case?
[1nickt]: Hm, perhaps this? "Operators which expect an integer force the argument into the integer format."
[1nickt]: Can this be? So print
[1nickt]: ... "expects an integer" ?

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-05-24 18:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?