zer has asked for the wisdom of the Perl Monks concerning the following question:
i have a object stored as $self->{obj} and i want to return a subroutine to a handler.
This is wrong code, but i am wondering how do i send it properly by reference.ContentHandler => { '/' => \&{$self->{object}->Event}, },
thank you
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Referencing Subroutines through a package
by zwon (Abbot) on Aug 15, 2009 at 21:52 UTC | |
Re: Referencing Subroutines through a package
by mzedeler (Pilgrim) on Aug 16, 2009 at 08:58 UTC | |
Re: Referencing Subroutines through a package
by AnomalousMonk (Archbishop) on Aug 16, 2009 at 01:28 UTC | |
by ikegami (Patriarch) on Aug 16, 2009 at 09:17 UTC |
Back to
Seekers of Perl Wisdom