Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Parsing HTML files

by ajju
on Nov 18, 2010 at 19:57 UTC ( #872339=note: print w/ replies, xml ) Need Help??

in reply to Re: Parsing HTML files
in thread Parsing HTML files

hi Tux, I had my $html="htmlfilepath"; added to your code. Running your code is giving the below error, Use of uninitialized value in subroutine entry at C:/Perl/site/lib/HTML/TreeBuil line 121.

Comment on Re^2: Parsing HTML files
Replies are listed 'Best First'.
Re^3: Parsing HTML files
by planetscape (Chancellor) on Nov 19, 2010 at 05:41 UTC
Re^3: Parsing HTML files
by Tux (Monsignor) on Nov 19, 2010 at 07:33 UTC

    If you would have taken the time to read the documentatio, e.g. using "perldoc HTML::TreeBuilder", you should have seen, if the method name parse_content wasn't obvious enough already, that to parse a file, you should use the parse_file method.

    Enjoy, Have FUN! H.Merijn

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2015-11-30 14:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (773 votes), past polls