21 Apr
2011
21 Apr
'11
6:17 p.m.
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