Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Call subroutine of main namespace from package in Plackby stevieb (Canon) |
on Apr 11, 2018 at 21:56 UTC ( [id://1212711]=note: print w/replies, xml ) | Need Help?? |
This is kind of the response I wish I had time for today, but like all of us, sometimes firefighting in other areas in life take precedence. This answer, along with other answers, particularly AnomalousMonks post here spell it out for me. I'm still fire-fighting, so if nobody else gets a chance before I can, OP should be introduced into coderefs, and sending in subroutines as a parameter. Somehow I feel passing in function references to a call to a module's functions/methods fit in this case.
In Section
Seekers of Perl Wisdom
|
|