in reply to Re: Passing subroutine as argument between packages
in thread Passing subroutine as argument between packages
Thank you for you answer,
I want ask you about one more thing: in this method, how pass eventually arguments for subroutine $FooConfig->important_func?
I checked $ref()->('a' ), $ref()('a'), $ref->( 'a' ), $ref->()('a'), $ref->()->('a') or like this, and didn't work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Passing subroutine as argument between packages
by chromatic (Archbishop) on Nov 30, 2011 at 18:25 UTC | |
by Mateusz (Initiate) on Nov 30, 2011 at 18:43 UTC |
In Section
Seekers of Perl Wisdom