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

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]
Lady_Aleena goes to read, may take a bit.
[Lady_Aleena]: Um, okay...
[karlgoethebier]: Lady_Aleena see also the source code of Shell

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-06-26 08:58 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (574 votes). Check out past polls.