Passing an object to a subroutine via hash?

2005-02-19 Thread Chris
Greetings, I don't know what the proper terminology is for what I want to do, so if somebody can tell me what it is, that would be great. Basically I have my core code, then lots of subroutines. Right now I pass data to subroutines via a "parameter" hash. How can I pass an object that was crea

Re: Passing an object to a subroutine via hash?

2005-02-20 Thread alctraz
If you are only looking for the terminology, this is called 'Pass by Reference': http://www.perlpod.com/5.8.4/pod/perlsub.html#Pass%20by%20Reference On Sun, 20 Feb 2005 02:30:34 -0500, Chris <[EMAIL PROTECTED]> wrote: > Greetings, > > I don't know what the proper terminology is for what I want

Re: Passing an object to a subroutine via hash?

2005-02-21 Thread Wiggins d'Anconia
Chris wrote: Greetings, I don't know what the proper terminology is for what I want to do, so if somebody can tell me what it is, that would be great. Basically I have my core code, then lots of subroutines. Right now I pass data to subroutines via a "parameter" hash. How can I pass an object th