On Tue, 19 Oct 2004 08:15:32 +1300, Dan Horne <[EMAIL PROTECTED]> wrote:
> ASIDE: Cees, what's your feeling about using a different default directory
> depending on the OS?

What if I put in a dependancy on File::Spec (a core perl modules so it
should be fine), and used File::Spec->tmpdir to figure out what
temporary directory to use?

That should make the defaults work across any platform that perl
supports (or at least that File::Spec supports)

Also, If I feel ambitious (or if someone wants to write a patch) I
could check to see if $self->query actually returns a CGI.pm module or
not, and handle the situation appropriately...  That would solve the
issues for people using CGI::Simple.  I don't really want to do that,
since I think the proper place to fix it is in CGI::Session, not in
C::A::P::Session, but I guess I can always remove the checks if
CGI::Session gets fixed.

Cheers,

-- 
Cees Hek

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to