http://www.perlmonks.org?node_id=431983


in reply to Re: localtime(time()) function in header
in thread localtime(time()) function in header

Why do you post an answer when you don't answer the question? The OP is obviously asking a question related to perl formats. Why are you giving random links about localtime?

pugsly62, if you're listening, you might want to try something along the lines of the following:

format STDOUT_TOP = @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< scalar localtime . format STDOUT = some data here . write;

Update: forgot to mention that I downvoted prasadbabu's post for being a non-answer.

--
edan