in reply to Display clock
print scalar localtime;
It you want a different format, use POSIX 'strftime';.
After Compline,Zaxo