Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by edan (Curate)
on Feb 17, 2005 at 16:02 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: localtime(time()) function in header
by holli (Abbot) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://431983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-25 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found