Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Simulating the Future

by blokhead (Monsignor)
on Jan 04, 2008 at 19:46 UTC ( [id://660460]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package TimeOffset;
    
    ...
    }
    
    1;
    
  2. or download this
    use TimeOffset '+3600'; # pretend it's 1hr in the future
    
  3. or download this
    use TimeOffset '-60'; # pretend it's 1min in the past
    
  4. or download this
    use TimeOffset 12345678; # pretend the program was started
                             # at 12345678 epoch seconds
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-26 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found