in reply to Error while using POSIX strftime
I cannot reproduce that error.
Code used:
use strict; use warnings; use POSIX qw(strftime); my $datestring = strftime "%B %d %Y", localtime; print("date - $datestring\n");
Output
date - September 16 2014
Perl version
This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x +64-multi-t hread Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.
|
|---|