in reply to Prototyping - is it necessary?
You have another bug in your code (or you transcribed it incorrectly):
my is not going to apply to $chomp. Under strict, this should throw an error Global symbol "$chomp" requires explicit package name.(my $datafile, $chomp) = @_;
Try this instead:
my ($datafile, $chomp) = @_;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Prototyping - is it necessary?
by bioMan (Beadle) on Sep 01, 2005 at 19:49 UTC |