Define 'better'. I notice the documentation for Data::UUID doesn't mention _STDIR - maybe you need to tell us what that is and how you are using it?
True laziness is hard work
| [reply] |
It is constant from Makefile.PL
for default store uuid data.
better is something more general , not C:/tmp or %temp%
Thanks
| [reply] |
C:/tmp or %temp% seems to be a perfectly good and usual place to store some temporary data. What alternatives did you have in mind?
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [d/l] [select] |
You could set the temp environment variable yourself from the command-line 'set temp=.'. Setting temp using $ENV{temp} might not work, depending on how the module grabs the environment variable. ENV::C can sometime help with that.
%USERPROFILE% might be a better bet than %ALLUSERPROFILE%, or even %HOMEPATH%. | [reply] [d/l] |