http://qs321.pair.com?node_id=11134197


in reply to Need to know the export process of Dancer 2 app.

Instead of trying to export @access_token you should call the subroutine in the other package inside webapp.pm. my $result = Op::api_call3(@access_token) or similar ... and you will have to finish writing the subroutine of course.


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Need to know the export process of Dancer 2 app.
by chandantul (Scribe) on Jun 23, 2021 at 12:35 UTC

    Hi , I was able to fix the issue. Thanks for all your help.