Adam has asked for the wisdom of the Perl Monks concerning the following question:
Well this worked ok, but I had a problem where a user had made a call to a function that did not exist. This wasn't caught until the script was executed, not good!
So I started trying to figure out how this slipped past, and I couldn't. Perl does not notice a non-existent function (or subroutine or whatever you want to call it) at compile time. Does anyone know why this is?
I was thinking it might be because you could somehow dynamically create the function or something... but I don't know how to do that either, not including the use of eval.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: -c
by BBQ (Curate) on May 09, 2000 at 03:50 UTC | |
by Adam (Vicar) on May 09, 2000 at 04:12 UTC | |
|
Re: -c
by btrott (Parson) on May 09, 2000 at 01:53 UTC | |
|
RE: -c
by merlyn (Sage) on May 09, 2000 at 17:09 UTC | |
by Adam (Vicar) on May 09, 2000 at 20:09 UTC | |
|
RE: -c
by Maqs (Deacon) on May 09, 2000 at 13:40 UTC |