Think about Loose Coupling | |
PerlMonks |
Re: Need to know the export process of Dancer 2 app.by 1nickt (Canon) |
on Jun 23, 2021 at 08:36 UTC ( [id://11134197]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|