in reply to assert - checking up on other scripts

It seems all of that code could be avoided if you had a proper deployment system.

I foolishly commented out its cronjob while working on its script, and left it commented out, so I missed some data points.

That's the problem: You edit stuff on a production machine.

Here's my understanding on how things should go:

Maybe I misunderstood what you're doing, but it seems you're only adding layers of sanity checks for non-existing deployment solutions. See also: Technical debt.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: assert - checking up on other scripts

Replies are listed 'Best First'.
Re^2: assert - checking up on other scripts
by sflitman (Hermit) on Jul 22, 2010 at 19:14 UTC
    Thank you, I am going to have to adopt your methodology. I have been a one-man shop for too long and need to modernize. Which version control system would be best? I've used Subversion a little.

    SSF

      I personally prefer git (or any decentralized version control system) over svn, but it's a bit hard to get started with.

      Any version control system will be much better than none, though.

      Perl 6 - links to (nearly) everything that is Perl 6.