Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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

Replies are listed 'Best First'.
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?
[stevieb]: As far as Dist::Zilla goes, I don't like installing that other than on systems my test platorm runs on. I find it too heavy. I prefer being able to glean a Makefile.PL
[LanX]: what's frustrating me is that a distribution has lots of dupplicated info
[stevieb]: LanX I don't know if it's dialog driven; I just use it in the simplest of terms (just run module-starter at the CLI, and the very last couple of lines are how I use it.
[stevieb]: which dist are you speaking of regarding dups, LanX?
[LanX]: readme version number and so on ...
[stevieb]: with M::S, you can also add other tags, but defaults work... such as --license=perl --eumm
[LanX]: I'm not a big fan of pure make, apparently the auto generated ones are so complicated to be able to work with all possible makes
[stevieb]: I find the M::S makefiles it generates are quite straight forward, and I usually have to add a few things (github info etc). They're about 15 lines or so give or take.
[Corion]: I don't think the EUMM-generated Makefile is that complicated ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-08-18 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?