title: How do I implement cookie based auth for a Perl website on shared hosting?
body: <p>I'm very new to Perl, and I have absolutely no idea how to approach this. We have an old Perl application which previously used Apache auth; we'd like to replace this with a cookie based form-style authentication. I understand that this is very case-specific, and there is no one answer as such, but some general tips would be much appreciated.</p>
  
  <p>Will I need to edit all <code>.pl</code> files in the website? Or is there a "golden hammer" solution I can use? Is there something on <a href="http://www.cpan.org" rel="nofollow noreferrer">CPAN</a> I can use? We're using Perl v5.8.8 if it matters, and we're using Apache 2 <strong>shared</strong> hosting. I am happy to provide additional information as is necessary.</p>