Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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.

--
edan


Comment on Re^2: localtime(time()) function in header
Download Code
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).

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

    Update:
    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.

      --
      edan

        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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://431983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-09-19 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (132 votes), past polls