#!/usr/bin/perl
use DateTime;
my $dt=DateTime->now;
$TimeStamp=$dt->ymd . "_" . $dt->hms;
use DateTime;
my $dt=DateTime->now;
$TimeStamp=$dt->ymd . "_" . $dt->hms;
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.