Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: calling a subroutine while Initializing new

by neosamuri (Friar)
on Sep 17, 2006 at 03:06 UTC ( [id://573371]=note: print w/replies, xml ) Need Help??


in reply to calling a subroutine while Initializing new

If you are passing wanting to pass the subroutine to the module(as you are doing above), then the subrutine should be defined in the file that instantiates the object.

If you are not wanting to pass the subroutine in to the module, then it should be in the package file and called from the new subroutine.

  • Comment on Re: calling a subroutine while Initializing new

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 01:21 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found