Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
November 27, 2004, 11:24 pm
rate this thread
I'm using Active state perl on Windows XP and while running a simple
perl script i'm getting this error:
Use of uninitialized value in subroutine entry at
C:/Perl/site/lib/HTML/Parse.pm line 127.
Here is my script
my $url= "http://www.google.com";
print parse_html(get $url)->format;
Re: Use of uninitialized value in subroutine entry at C:/Perl/site/lib/HTML/Parse.pm line 127.
>perl script i'm getting this error:
>Use of uninitialized value in subroutine entry at
It's not an error. It's a warning, and by far one of the most common
ones. In fact the code that generates it often needs to be enclosed in
no warnings 'uninitialized';
block. If (and only if) you get a correct output you can silently
ignore it. FWIW I remember some Tk module *incorrectly* not being
protected against it some time ago... (and I did ignore it!)
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
- » FAQ 3.4: How do I find which modules are installed on my system?
- — Previous thread in » PERL Discussions