On Wed, May 8, 2019, 5:55 PM Dan Book <[email protected]> wrote: > > Alternatively you can use 'state $sqlite = ' inside the helper but this > approach breaks the ability to run multiple separate apps in the same > process, because it will make one $sqlite per whole process. > > -Dan >
Could you expound on this problem? I thought state is just a shortcut to closing over a lexical variable. -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/CAO-W_8CVM9NnBMXuyvHi_FCT7p8%2B11FxTn6it9%3D%3D2JpUr78nfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
