in reply to Display clock

print scalar localtime;

It you want a different format, use POSIX 'strftime';.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re^2: Display clock
by Anonymous Monk on Sep 14, 2005 at 02:50 UTC
    Hi,
    I need to display a running clock.
    localtime module will display the current date and time.
    But time will not change.
    If I am wrong, please correct me
    Thanks