Perl-Sensitive Sunglasses | |
PerlMonks |
Re: session moduleby thcsoft (Monk) |
on Jun 02, 2005 at 13:14 UTC ( [id://462895]=note: print w/replies, xml ) | Need Help?? |
honestly: your code is ugly. 1.) there is no need for using 'lib' without a really powerful reason. your's is none. 2.) if you like to inherit from Exporter, you better use it. 3.) $cgi->cookie(SESSION_COOKIE) is rubbish. btw.: what the made you think to establish a constant for a cookie's ... err what? value? i'd really suggest that before you dig deeper into all that miraculous CGI stuff you take a look at mod_perl and Apache2. what you are trying to construct is at least old-fashioned.
language is a virus from outer space.
In Section
Seekers of Perl Wisdom
|
|