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

Re^4: Parse html file

by TonyNY (Beadle)
on Sep 24, 2018 at 19:08 UTC ( [id://1222927]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Parse html file
in thread Parse html file

Thanks tangent, your solution pulled the data.

any idea what this error is referring to?

Can't call method "as_text" on an undefined value

Replies are listed 'Best First'.
Re^5: Parse html file
by tangent (Parson) on Sep 24, 2018 at 19:28 UTC
    There are probably some divs with class 'formline' but without the interior divs - I have updated the code above to deal with that.

      Hi tangent,

      Could this code be modified to extract this kind of output?

      hr div Relay Status Information br div div FillDB File Size Limit: div 0.0% ( 0 / 3145728 Bytes ) div div FillDB File Count Limit: div 0.0% ( 0 / 10000 Files ) div div Timeout for queries in queue: div 60 minutes div div Size of queries in queue: div 0.0% ( 0 / 104857600 Bytes ) div div Size of results queue: div 0.0% ( 0 / 104857600 Bytes ) br

      Thanks

        That's just a SMOP. What did you try and how did it fail?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found