Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: localtime(time()) function in header

by prasadbabu (Prior)
on Feb 17, 2005 at 15:46 UTC ( #431979=note: print w/replies, xml ) Need Help??

in reply to localtime(time()) function in header

If you search in supersearch related to local time, you can get more nodes on this.


  • Comment on Re: localtime(time()) function in header

Replies are listed 'Best First'.
Re^2: localtime(time()) function in header
by holli (Monsignor) on Feb 17, 2005 at 15:59 UTC
Re^2: localtime(time()) function in header
by edan (Curate) on Feb 17, 2005 at 16:02 UTC

    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.


      The OP is obviously asking a question related to perl formats.
      I would not call it "obviously". It can be guessed, yes, but not known. He also might want to put a date in a HTTP-header or something.
      The OP should read Tutorials, esp. On asking for help and How to ask questions the smart way (off-site).

      And since you are new to this site pugsly62, the OP is you ,)

      And as for you edan,
      it seems encouraging people reading the site-docs is worth the time. This post is nicely asked and well formatted.

      holli, /regexed monk/

        I consider the mention of STDOUT_TOP a dead giveaway. If prasadbabu didn't understand that the question was about formats, then he has no business answering it.

        And as for you holli - I wish people would stop playing dumb, get off the "you have to ask the question perfectly or we'll flame you to hell" high-horse, and get on with helping people. Sheesh.


      Thanks everyone...I had been searching diligently through my perl books but I could not find any reference to using functions in headers, thus my question. I'll give your example a try. Thanks! Scott

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://431979]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2018-05-26 18:43 GMT
Find Nodes?
    Voting Booth?