in reply to Re^2: pennance (OT)
in thread Prototyping - is it necessary?

No, I did a cut and paste, but as pointed out in another post I have another bug.

(my $datafile, $chomp) = @_;

throws an error because $chomp isn't explicitly declared/scoped and strict pitches a fit, "my" should be outside the parentheses.

Replies are listed 'Best First'.
Re^4: Prototyping - is it necessary?
by jdporter (Paladin) on Sep 01, 2005 at 21:13 UTC

    That's not "another" bug, that's the bug that led me to suspect foul play.

    See, either (1) you posted code you knew didn't compile; (2) you posted code you hadn't even tried to run; or (3) you posted code that wasn't the same as what you were running.

    I was guessing #3 a few nodes up the thread, since it's perhaps the least egregious.