Path: usenet.cise.ufl.edu!newsfeeds.nerdc.ufl.edu!headwall.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.corridex.com!nntp2.savvis.net!inetarena.com!not-for-mail
From: SANFACE Software <
[email protected]>
Newsgroups: comp.lang.perl.announce,comp.lang.perl.modules
Subject: TempDir module 1.2
Date: 26 Sep 1999 19:37:01 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 41
Approved:
[email protected] (comp.lang.perl.announce)
Message-ID: <
[email protected]>
NNTP-Posting-Host: halfdome.holdit.com
X-Disclaimer: The "Approved" header verifies header information for article transmission and does not imply approval of content.
Xref: usenet.cise.ufl.edu comp.lang.perl.announce:370 comp.lang.perl.modules:13666
Thanks for all your suggestions, they help this module to grow up.
What is tmpdir?
Every PERL tool use temporary files.
If you want your code can be simply portable on different OS, you need
to select the correct temporary directory. The purpose of this module
is to check the correct temporary directory in every OS supported by
PERL to use it.
We need your help.
We ask you to send us the correct tempory directory for every OS
supported by PERL and to suggest us good modifies (
[email protected]).
The news:
The default Mac OS directory can be found with the FindFolder toolbox
function
use Mac::Files;
$tmp = FindFolder(kOnSystemDisk,kTemporaryFolderType);
However, MacPerl automatically assigns this directory to $ENV{TMPDIR}.
[by Chris Nandor]
The latest version of this library is likely to be available from:
SANFACE Software (
http://www.sanface.com)
every CPAN mirror S/SA/SANFACE/
Copyright 1999, SANFACE Software
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
--
SANFACE Software
http://www.sanface.com
mailto:
[email protected]
Sent via Deja.com
http://www.deja.com/
Share what you know. Learn what you don't.