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.
In Section
Seekers of Perl Wisdom