I just ran into a similar situation. I dealt with a small xml for testing purposes and now took a big real-life xml document. Anyways, if I have to load that xml only when the first request comes it takes a while. If there would be a way to load it during starting the app, i could save that time. What do you think? thanks Maurice On Tue, Aug 24, 2010 at 5:07 AM, Alexis Sukrieh <sukria@sukria.net> wrote:
Le 24/08/2010 11:03, Peter Gordon a écrit :
Thanks for the reply. This goes some way to the answer, but I want
the program to run, without having to invoke curl or any external program. It could be done by setting up the appropriate packet within the program, or by just hacking the request.
Hmm,
This would be a bit more complicated, because you'll have to fake an incoming HTTP connection...
I don't see how to do that if not by using a new Dancer::Handler for this specific purpose.
-- Alexis Sukrieh
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users