Created
June 2, 2011 08:59
-
-
Save kraih/1004141 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.14.0; | |
use Mojo::Server; | |
# Load application with mock server | |
my $server = Mojo::Server->new; | |
my $app = $server->load_app('./myapp.pl'); | |
# Access fully initialized application | |
say $app->static->paths->[0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment