P is for Practical | |
PerlMonks |
Re^2: Passing subroutine as argument between packagesby Mateusz (Initiate) |
on Nov 30, 2011 at 18:13 UTC ( [id://940914]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|