Thursday, May 23, 2013

Perl display time and date

To display time and date in perl use:

use POSIX qw(strftime);
print strftime("%a, %d %b %Y %H:%M:%S %z", localtime(time())) . "\n";

Note: you might need to install date time module.  sudo apt-get install libdatetime-perl 

1 comment:

jabaraehabecker said...

But as soon as} the lucky streak is gone, they start to chase their losses and this is where all their troubles begin. Playing at the first on line 배당 토토 casino they discover – There are many suspicious casinos on the market so before you make your deposit want to|you should|you have to} do in depth analysis first. The web site needs to have a sound license and it is regulated for fairness and secure banking and payouts. It can be utilized to switch some other image within the slot and full a successful line. They can also be|may also be|can be} stacked, expanded, or multiplied, simply to call some.