Apologies:
I figured it out, some bad code outside the subroutine,
Thanks,
Matt
-Original Message-
From: Matthew Walkup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:44 AM
To: [EMAIL PROTECTED]
Subject: RE: Globals in Subroutines (OOPS)
Some old code that i was
}
}
Sorry, and thanks,
Matt
-Original Message-
From: Matthew Walkup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 29, 2001 10:39 AM
To: [EMAIL PROTECTED]
Subject: Globals in Subroutines
my (@inputs, @last, $output);
sub prepareandread_inputs {
my $temporary;
p
my (@inputs, @last, $output);
sub prepareandread_inputs {
my $temporary;
push(@inputs, $temporary) while ($temporary = shift);
foreach my $input (@inputs) {
if ($input->{gzip}) {
$input->{handler} = gzopen($input->{full_path}, 'r')
o