in reply to Proper way to initialize local variables
sub any { my @recArray; local $_; ... while ( defined ($_ = <$fh> ) ) { push @recArray, $_; ... } } [download]