in reply to "Called to early to check prototype"
Of course, I'm not sure where the problem is, since you're not using a prototype in the code you show. Anyway:
Probably the best way: by getting rid of the prototype.
Failing that: predeclare the sub somewhere at the top of the script (that is, anywhere so long as it's above its first use), as in
sub foo($$);
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Called to early to check prototype"
by superfrink (Curate) on Aug 21, 2004 at 04:51 UTC |