What did you search in Google to get those results? It wasn't "Perl CGI Login System" or "Perl CGI Session" or something like that. At least I didn't get any of these as results.
And I must admit that those frameworks do not look really like Plug & Play.
Thank your anyway. I managed to fix my code, though. :)