Skip to content

Synopsis, Missing Cookie Secret & Return Value #9

Description

@wbraswell

In the code synopsis, this line:

enable "Session::Cookie";

Must be replaced by this line:

enable "Session::Cookie", secret => 'cookie_secret';

And the following lines should be added to the end of the app subroutine for ease-of-understanding:

# [ HTTP status code, HTTP header, HTTP content ]
return [ 200, [ 'Content-Type' => 'text/html' ], \@out ];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions