use Time::Piece; use strict; my @months = qw( 01 02 03 04 05 06 07 08 09 10 11 12 ); my $t = localtime; print localtime->month(@months);
my $perl_version( 5.12.4 ); print $perl_version;
In reply to Re^4: create array from strftime
by taint
in thread create array from strftime
by mhearse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |