Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^7: RFC: New style for argument check in subs

by chip (Curate)
on Sep 11, 2012 at 20:06 UTC ( #993053=note: print w/replies, xml ) Need Help??


in reply to Re^6: RFC: New style for argument check in subs
in thread RFC: New style for argument check in subs

You are not assigned to a workplace, are you? You should reconsider working on Perl in a way that will stagnate your skills.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

  • Comment on Re^7: RFC: New style for argument check in subs

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993053]
help
Chatterbox?
[james28909]: ill be back with a solution eventually
[stevieb]: it's a reminder to re-inforce it :P
[atcroft]: james28909: That particular questions was a bit of trick, actually (depending on the country you are in). More interesting is, if you are trying to subtract from an epoch time, for instance, you might have to consider when/if DST occurs for a location,
[atcroft]: because you may have to adjust the number of seconds you change from an epoch from 86400 (not to mention leap seconds)....
[atcroft]: james28909: Although if your program is using a database, you might be able to "pass the buck" to the database and ask it to do the date change for you....

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2017-04-29 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.