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

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?


Comment on Re: New time-related function for Perl
(tye)Re: New time-related function for Perl
by tye (Cardinal) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (17)
As of 2014-04-17 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls