Dandre: it can be whatever you want it to be, in mojolicious' case it is a hashref, but you can store objects inside the stash if you want: $self->stash('my_object' => $some_object); and later get it with $self->stash('my_object');