in reply to no feedback when running a script?
my $current = `date +%m/%d/%Y`;
You should try running that command from your Windows cmd prompt:
C:\>date +%m/%d/%Y The system cannot accept the date entered. Enter the new date: (yy-mm-dd) C:\>
So that (it wanting you to enter the new date you want used) could be the problem.
- tye
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: no feedback when running a script? (cmd date)
by flieckster (Scribe) on Dec 05, 2016 at 19:26 UTC | |
by poj (Abbot) on Dec 05, 2016 at 19:41 UTC |
In Section
Seekers of Perl Wisdom