On Jul 15, 2004, at 10:33 AM, Brian Volk wrote:
Am I getting close...?
Sure are.
my $file = "/Program Files/OptiPerl/urls.txt"; open (LINKS, $file) or die "Can't open $file: $!";
We're fine up to here.
chomp (@url = read(LINKS, $url, 100));
Let's break that into two steps:
my @urls = <LINKS>; # slurp the file
chomp @urls; # remove line endings
Thanks for your help!
My pleasure.
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>