in reply to Re^2: why does location of function matter?
in thread why does location of function matter?
That should be written as:
sub PostValidate { ... }
As you have it declared, sub PostValidate does declare a prototype. An empty prototype means no args may be passed (assuming Perl sees the subroutine is declared before its first use, as you've discovered).
Dave
|
|---|