Yes, I caught that bug after my post. Originally I had a statement before
(my $datafile, $chomp) = @_;That read,
my $chomp = 0;... but I removed it knowing that if I could remove the prototyping and only pass in a value for $datafile then $chomp would automatically be set to undef. I forgot to move "my" outside the parentheses. Poof! a bug!
In reply to Re^2: Prototyping - is it necessary?
by bioMan
in thread Prototyping - is it necessary?
by bioMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |