in reply to authentication via cookies

I usually use CGI::Session for that.
Perl 6 - links to (nearly) everything that is Perl 6.