Re: Execute a sub: $sub

2004-06-25 Thread James Edward Gray II
On Jun 24, 2004, at 11:55 PM, Daniel Kasak wrote: Hi all. I have an object that I want to have execute some code that it gets told about when it's constructed. How do I go about that? ie: $self->{some_code_to_execute} will either have the name of a sub, or a reference to a sub, or something. I b

Execute a sub: $sub

2004-06-24 Thread Daniel Kasak
Hi all. I have an object that I want to have execute some code that it gets told about when it's constructed. How do I go about that? ie: $self->{some_code_to_execute} will either have the name of a sub, or a reference to a sub, or something. Dan -- Daniel Kasak IT Developer NUS Consulting Group