in reply to Re: Moving Log files remotely
in thread Moving Log files remotely

 $time[5]-=100; is scary for people who had Y2K problems.

++ anyway.

Replies are listed 'Best First'.
Re: Moving Log files remotely
by hiseldl (Priest) on Sep 10, 2002 at 20:37 UTC
    if you can use POSIX; which I just tried on my win2k box and worked, you could use something like this instead:
    use POSIX; # %Y = 4 digit year and %y = 2 digit year $dirname = strftime("%Y%m%d%H%M%S", localtime);
    Also, you may want to add the PID on the end just in case it runs more than once for the same second. :)

    --
    hiseldl
    "Act better than you feel"