H
heli0s
Hi,
I'm having a bit of a problem with a script I'm writing. I want the script
to read in a txt file with a list of files to download and then go through
the list of files to get them from the net.
it should be something like this:
use LWP::Simple;
open (FILE,"all.m3u");
@file = <FILE>;
close FILE;
foreach $line (@file){
get ( $line );
}
As seen in the above code, i've been looking at LWP::Simple, but what i
have here is no good. Maybe i'm doing something wrong but i havent figured
it out yet.
Greets Christiaan
I'm having a bit of a problem with a script I'm writing. I want the script
to read in a txt file with a list of files to download and then go through
the list of files to get them from the net.
it should be something like this:
use LWP::Simple;
open (FILE,"all.m3u");
@file = <FILE>;
close FILE;
foreach $line (@file){
get ( $line );
}
As seen in the above code, i've been looking at LWP::Simple, but what i
have here is no good. Maybe i'm doing something wrong but i havent figured
it out yet.
Greets Christiaan