in reply to Re: Detect undefined subroutines
in thread Detect undefined subroutines
You could use
to receive compile-time warnings, assuming you don't use any other global datatype called foo (and doesn't try to call the same undefined subroutine twice).sub foo { ... } *foo->(...);
Update: boldened "warnings" and added parenthesis.
ihb
Read argumentation in its context!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Detect undefined subroutines
by tilly (Archbishop) on Sep 18, 2004 at 17:51 UTC | |
by ihb (Deacon) on Sep 18, 2004 at 20:42 UTC |