Hi
I'm reading "Running multiple apps with Plack::Builder" in Dancer::Deployment.
There is sample code:
load_app 'MyApp1', 'MyApp2';
[...]
my $app1 = sub {
my $env = shift;
my $request = Dancer::Request->new( $env );
Dancer->dance( $request );
};
my $app2 = sub {
my $env = shift;
my $request = Dancer::Request->new( $env );
Dancer->dance( $request );
};
but this two subs are identical, how Plack::Builder will know which one is which?
The second question is will prefix be automatically configured up in those apps?
--
Best Regards,
Nick Knutov
http://knutov.com
ICQ: 272873706
Voice: +7-904-84-23-130
_______________________________________________
Dancer-users mailing list
Dancer-users@perldancer.org
http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
franck cuny
http://lumberjaph.net - http://github.com/franckcuny