in reply to number to date conversion
Yet another WTDI:
#!/perl/bin/perl use strict; use warnings; my $YYMMDD = '130510'; my @D = unpack('(A2)*', $YYMMDD); my $date = join('/', @D); print $date, "\n";
What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011
|
---|
In Section
Seekers of Perl Wisdom