Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: localtime(time()) function in header

by edan (Curate)
on Feb 17, 2005 at 16:02 UTC ( #431983=note: print w/replies, xml ) Need Help??

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.


Replies are listed 'Best First'.
Re^3: localtime(time()) function in header
by holli (Monsignor) on Feb 17, 2005 at 16:06 UTC
    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.


        All flaming I can see here originates from you, edan.
Re^3: localtime(time()) function in header
by pugsly62 (Novice) on Feb 17, 2005 at 17:07 UTC
    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://431983]
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-25 20:57 GMT
Find Nodes?
    Voting Booth?