Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Loading a function from another file dynamically?!

by chromatic (Archbishop)
on Mar 24, 2003 at 00:06 UTC ( [id://245341]=note: print w/replies, xml ) Need Help??


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?!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://245341]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-23 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found