On Aug 1, Jennifer Pan said:
>$URL1= "http://blablabla";;
>$command="/opt/sfw/bin/wget -nv -O @list $URL1";
>system "$command";
>print @list;
A program cannot save to a variable. Programs save to file streams or
devices or whatever else is around. But not variables.
You need to capture the ou
> -Original Message-
> From: Jennifer Pan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 4:45 PM
> To: [EMAIL PROTECTED]
> Subject: save file in an array
>
>
> I want to download a page, and want to save it in an array to parse it
> later on,
I want to download a page, and want to save it in an array to parse it
later on,
I did
#usr/local/bin/perl
my @list;
$URL1= "http://blablabla";;
$command="/opt/sfw/bin/wget -nv -O @list $URL1";
system "$command";
print @list;
it didn;t work. But if I say
$command="/opt/sfw/bin/wget -nv -O list