"uninitialized value in join or string"
From: laurent (laurent.herve23_at_libertysurf.fr)
Date: 05/26/04
- Next message: Purl Gurl: "Re: "uninitialized value in join or string""
- Previous message: Jeff Schwab: "Re: regular expressions - math on backreferences"
- Next in thread: Purl Gurl: "Re: "uninitialized value in join or string""
- Reply: Purl Gurl: "Re: "uninitialized value in join or string""
- Reply: Joe Smith: "Re: "uninitialized value in join or string""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 May 2004 23:27:04 +0000
Hi there,
I picked up this script below in the newsgroup, and i noticed that
it works but also generate an warning, -or a complaining message ;
How could it be improved ? by my self i added line 3, but without
success :
The script is here (it returns headers of an http server)
[laurent@joanna_2 laurent]$ cat !*
cat w_perl.pl
#!/usr/local/bin/perl -w
use LWP::Simple;
my @response = (); <---added line
# Send a head request and populate the array
@response = head("http://www.lemonde.fr/");
print "@response\n";
Thx,
laurent
- Next message: Purl Gurl: "Re: "uninitialized value in join or string""
- Previous message: Jeff Schwab: "Re: regular expressions - math on backreferences"
- Next in thread: Purl Gurl: "Re: "uninitialized value in join or string""
- Reply: Purl Gurl: "Re: "uninitialized value in join or string""
- Reply: Joe Smith: "Re: "uninitialized value in join or string""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|