Re: save file in an array

2001-08-01 Thread Jeff 'japhy/Marillion' Pinyan
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

RE: save file in an array

2001-08-01 Thread Bob Showalter
> -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,

save file in an array

2001-08-01 Thread Jennifer Pan
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