On 2005-07-02, Jason A. Crome <suppressed> wrote:
>
> - Asinine requirement that all drivers must be lowercase (WTF? ;)
I don't mind that, but I agree it seems awkward. Perhaps it was a way
to distinquish between the 3.x and 4.x drivers.
Once the maintenance stuff is out of the way, I'd like to add this
flourish of syntactic sugar:
$s = new CGI::Session( "driver:mysql", undef , { Handle => $dbh } );
Can be rewritten as:
$s = new CGI::Session($dbh);
The CGI::Session driver name will be intuited from the DBI driver name
in use.
Maybe it's not too late to have CGI::Session 4.x driver name mirror exactly
the DBD ones. So the 'postgresql' driver becomes 'Pg'.
Mark
--
http://mark.stosberg.com/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.