That's rather backwards. Instead, create a function in the module, and from main, call that function with the required parameters.
In reply to Re^3: Call subroutine of main namespace from package in Plack
by stevieb
in thread Call subroutine of main namespace from package in Plack
by Thenothing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |