# Validate $c->param('router') $c->session->{$router} = $c->param('router'); # In other routes my $router = $c->session->{$router} // $c->stash( router => $GLOBAL_DE +FAULT_ROUTER );
In reply to Re: Mojolicious global variable
by trippledubs
in thread Mojolicious global variable
by bartrad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |