in reply to Current time as variable?
Update: perldoc -f time :-). My example is just something to play with to show the differences between the available time representations.use Time::Local; my @now = localtime(); my $epoch_time1 = timelocal(@now); sleep 10; @now = localtime(); $epoch_time2 = timelocal(@now); print $epoch_time2 - $epoch_time1;
|
|---|