RE: Globals in Subroutines (OOPS)

2001-11-29 Thread Matthew Walkup
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

RE: Globals in Subroutines (OOPS)

2001-11-29 Thread Matthew Walkup
} } 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

Globals in Subroutines

2001-11-29 Thread Matthew Walkup
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