Help for this page

Select Code to Download


  1. or download this
    get '/login' => sub {
        # Display a login page; the original URL they requested is availab
    +le as
    ...
        # debug "displaying login page";
        template 'login', { path => param('requested_path') };
    };
    
  2. or download this
    [sandbox:22720] core @2025-04-06 16:28:17> Failed to serialize content
    +: hash- or arrayref expected (not a simple scalar, use allow_nonref t
    +o allow this) at /usr/local/share/perl/5.34.0/Dancer2/Serializer/JSON
    +.pm line 40. in (eval 333) l. 1