in reply to Re: still can't create a file using a variable
in thread still can't create a file using a variable

i created a datetime constant for use in a few of my scripts that run on Win32 && *NIX, for use in creating temporary directories and files. here's a snippet you may find helpful.
use POSIX; use constant DATETIME => strftime("%Y-%m-%d_%H-%M-%S", localtime);
this returns something like "2001-06-25_15-07-32"
your mileage may vary

~Particle