in reply to How can I timestamp each printed statement?

print scalar localtime, " - Creating interactive session... \n";

The arguments to localtime are optional and scalar makes it return a string instead of an array.