Item 2 and 4 on the Basic debugging checklist: look at your data.
use strict; use warnings; use POSIX qw(strftime); my @lt = localtime; use Data::Dumper; print Dumper(\@lt); my $datestring = strftime "%B %d %Y", @lt; print("date - $datestring\n");
Please post the output.
In reply to Re^3: Error while using POSIX strftime
by Anonymous Monk
in thread Error while using POSIX strftime
by sravs448
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |