Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2015-10-04 16:38 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (103 votes), past polls