Ethen has asked for the wisdom of the Perl Monks concerning the following question:
I have tried running this on command prompt but its not working. Can someone please assist me in this? Thanks Ethen . . . . Thanks a lot for your assistance :-) God bless!!! Cheers!! Ethen#! usr/bin/perl -w $logfilename = "logfileLOV"; $dateAndtime = `date`; $dateAndtime =~ tr// /; $logfilename = $logfilename. "_" .$dateAndtime; print "$logfilename\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to get the current Date and Time using Perl on windows?
by GrandFather (Saint) on Jan 02, 2008 at 07:29 UTC | |
|
Re: How to get the current Date and Time using Perl on windows?
by Punitha (Priest) on Jan 02, 2008 at 07:20 UTC | |
by johngg (Canon) on Jan 02, 2008 at 11:29 UTC | |
|
Re: How to get the current Date and Time using Perl on windows?
by McDarren (Abbot) on Jan 02, 2008 at 07:33 UTC | |
by goibhniu (Hermit) on Jan 02, 2008 at 21:32 UTC | |
by McDarren (Abbot) on Jan 03, 2008 at 01:15 UTC | |
by goibhniu (Hermit) on Jan 03, 2008 at 16:41 UTC |