Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Calling a function that may not be there...

by markwild (Sexton)
on Mar 27, 2001 at 03:35 UTC ( [id://67380]=note: print w/replies, xml ) Need Help??


in reply to Calling a function that may not be there...

I think what you are looking for is the AUTOLOAD routine. Take a look at page 296 of the Camel Book v3. The section called 'Autoloading' starts by saying "Normally, you can't call a subroutine that isn't defined. However, if there is a subroutine named AUTOLOAD in the undefined subroutine's package, then the AUTOLOAD subroutine is called with the same arguments that would have been passed to the original subroutine. . . ." Hope that puts you in the right direction.
  • Comment on Re: Calling a function that may not be there...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found