Hi, I have a script that uses require to include additional perl scripts at runtime. I would like to call a function if and only if that function is defined in the required module. How would this be done? Would the define() function work? Here's some pseudo of what I intend... any ideas? require runtime.pl; if (defined(runtimefunction)) { runtimefunction(args); } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Re: Determining if a subroutine is defined... Christopher Solomon
- Re: Determining if a subroutine is defined... Christopher Solomon
- Re: Determining if a subroutine is defined... Michael Dube
- Re: Determining if a subroutine is defined... Brett W. McCoy