<div dir="ltr"><div><div>Hello all,<br><br>First, thank you for this awesome work!<br><br>I have a Dancer application that uses Apache + Plack::Handler to run it.<br><br>Currently, inside each Dancer route I'm forced to create the master object of the application (i.e $object=Myapp->new(-login=>$login)) that it's a huge structure, including the database handler.<br><br></div>So:<br>/route1 => creates the $object, reconnects to the database<br></div>/route2 => creates the $object, reconnects to the database<div><div><div><br>Yep, doesn't make sense... <br><br>Is there a way to make the $object persistent (and the database connection with it)?<br></div><div>Is this related to how the application is running (CGI)?<br><br></div><div>Thank you!<br></div><div>Peco<br></div><div><br><br><br><br></div></div></div></div>