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

Re: New time-related function for Perl

by Anonymous Monk
on Apr 02, 2001 at 12:36 UTC ( #68955=note: print w/replies, xml ) Need Help??

in reply to New time-related function for Perl

What exactly does this do? If time() returns the number of seconds since the epoch, then 0 would be 0 seconds since the epoch and you can use the normal time functions with time 0 to figure out all the information you need about the epoch, so what exactly does epochtime do?

Replies are listed 'Best First'.
(tye)Re: New time-related function for Perl
by tye (Sage) on Apr 02, 2001 at 21:09 UTC
    +PP(pp_epochtime) +{ + dSP; + EXTEND(SP, 1); + PUSHs(sv_2mortal(newSViv(0))); + RETURN; +}

    Yes, this just returns 0. It appears to be an April Fool's joke that many (including the producers of "This week on p5p") didn't get (probably because it wasn't funny).

            - tye (but my friends call me "Tye")
      Well, I thought it was funny, especially because the patch included updates to the documentation and the test suite!

      A joke doesn't have to be obvious to be funny.

      Says tye:
      many (including the producers of "This week on p5p") didn't get
      Simon did indeed get it. Don't give yourself so much credit.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://68955]
[erix]: ( hm. that doesn't make sense really -- infallibility is a 19th century invention, the Inquisition quite a bit earlier )
[Your Mother]: The Inquisition? What a show!
[LanX]: which thread are you talking about?
[erix]: great hats

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-01-18 00:03 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (159 votes). Check out past polls.