in reply to Use of uninitialized value in subroutine entry at C:/Perl/lib/HTML/TreeBuilder.p m line 108.

What is your shebang?

Did you forget to " use warnings; " and used "perl -W ..." instead?

see "Use of uninitialized value in subroutine entry" warning with HTML::TableExtract and don't turn on warnings for code you did not write because warnings is better than -w, because something is wrong with -w and $^W

  • Comment on Re: Use of uninitialized value in subroutine entry at C:/Perl/lib/HTML/TreeBuilder.p m line 108.

Replies are listed 'Best First'.
Re^2: Use of uninitialized value in subroutine entry at C:/Perl/lib/HTML/TreeBuilder.p m line 108.
by kanthsri (Initiate) on Dec 26, 2012 at 08:32 UTC

    i tried it .. butgetting the same result..

      So $contents is undef, meaning get() failed to get anything