P is for Practical | |
PerlMonks |
Re: Mojolicious global variableby trippledubs (Deacon) |
on Dec 13, 2018 at 20:19 UTC ( [id://1227221]=note: print w/replies, xml ) | Need Help?? |
If you're using a variable across more than one route, but not globally across the whole application, it needs to go into a user cookie or saved per session. You currently have one global across the whole app.
In Section
Seekers of Perl Wisdom
|
|