in reply to Re: Loading a function from another file dynamically?!
in thread Loading a function from another file dynamically?!

Using a module, you can run a function defined in that module. The module must be loaded at compile time.

Partly true. More accurately, you can cause perl to compile things at run-time. The important bit is that it knows how to do the thing you're going to ask it to do when you ask to do it. require, in this case, can be quite useful.

  • Comment on Re: Re: Loading a function from another file dynamically?!