Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Determining the dayname for the last day of any given month

by leocharre (Priest)
on Jun 19, 2006 at 18:28 UTC ( #556288=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Determining the dayname for the last day of any given month
in thread Determining the dayname for the last day of any given month

As I had said, it all depends on what you are trying to achieve. If you're on deadline for a temporary hack, and there is such a thing- then you should be aware of your enviroment. Perl was originally a collection of unix hacks and tools, wasn't it?

You don't code a distribution app that depends on unix tools. But on day to day problems in the office, maintaining a hosting server, whatever- It's shooting yourself in the foot if you imagine perl is the only tool in your box.

The original post was what would *i* do. I got tangled up and wrote a solution that does not address the question.


Comment on Re^3: Determining the dayname for the last day of any given month
Re^4: Determining the dayname for the last day of any given month
by davorg (Chancellor) on Jun 20, 2006 at 08:31 UTC

    That all makes perfect sense. Just two points to add:

    1. People come to this site a look for examples of code to copy or adapt. If you're writing code here that is just a quick hack (and there's no reason why you shouldn't do that) then please clearly mark it as such so that it doesn't get misused in the future.
    2. There are, of course, times when running external programs is a good idea (as long as you're aware of my caveats above). Date and time handling is never one of those times :-)
    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2014-12-22 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls