Time::Piece is available in perl 5 after version 10
use Time::Piece; my $date = localtime->strftime('%m/%d/%Y'); print $date;
Output 07/26/2016
← True and false Control Statements →