in reply to Array question II
While we're at it, go ahead and print out the error code if the open() fails.
Try reading the INPUT filehandle like this:
buckaduckopen(INPUT, '< graduate.output.txt') or die "Couldn't open the file for reading: $!"; while(<INPUT>) { chomp; my $@a = split /,/; push(@url_info, \@a); } close(INPUT);
|
|---|