in reply to Re^2: Call subroutine of main namespace from package in Plack
in thread Call subroutine of main namespace from package in Plack

That's rather backwards. Instead, create a function in the module, and from main, call that function with the required parameters.

  • Comment on Re^3: Call subroutine of main namespace from package in Plack