I believe the answer to this is "kind of". Some of the reasons that there wouldn't be a standard module/set of modules for these sorts of functions are:
- different backends (e.g. are the user data stored in a database, a flatfile, etc.?)
- different needs (e.g. session management, user history)
- different intended environments, exposure, and audiences and thus different constraints/concerns
And besides, when it really comes down to it all you have to do is: get the username/password (or whatever), compare it to a value stored somewhere, and do something based on the result of this. A very small & trivial portion actually involves CGI.pm (namely, the creating login and post-login interfaces and grabbing CGI variables. Maybe.).
This being said, I've heard other monks around here talk about several other modules on CPAN that have further abstracted common web tasks into API's for the aspiring perlmonkey to work with.
Anybody care to mention any of these again?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.