print "$file[1]\n"; ... my $response = $ua->get($file[0]);
So what do you get when you print out $file[0] instead of $file[1]? Does it hold the URL? Or, in case $file[1] should hold the URL, what happens if you pass it to ->get()?
In reply to Re: Perl copy Text from file to Script
by almut
in thread Perl copy Text from file to Script
by Appy16
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |