Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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.

http://www.perlmonks.com/?node_id=419656

http://www.perlmonks.com/?node_id=409806

Prasad


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

    --
    edan

      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

      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://431979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-07-03 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls