in reply to How can I find the calling object?
What's wrong with:
anyway?sub method { my ($self) = shift; my $object = Object->new; $object->method2($self,@other_args); }
If you've got some special problem that needs this functionality, maybe there is another way to solve it.
update: fixed typo.
-- Joost downtime n. The period during which a system is error-free and immune from user input.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How can I find the calling object?
by strider corinth (Friar) on Nov 18, 2002 at 16:52 UTC | |
by Joost (Canon) on Nov 18, 2002 at 17:02 UTC |