On Jan 12, 2005, at 3:53 PM, Yitzchak Scott-Thoennes wrote:

On Fri, Jan 07, 2005 at 06:59:35PM -0800, Josh Goldberg wrote:
A (java programming) coworker presented this challenge while discussing
a hypothetical situation:

* Chris troubleshoots and sees that David (in a moment of sheer
insanity) coded the site to crash at 5:42pm on every full moon (do I
hear a Perl Monger side say there is a Perl library for just such a
thing -- and it's only 2 lines?).

Acme::Apache::Werewolf is probably something like what he wants.


Haha! Sweet, I like the embedded lyrics in that module. Here's a solution in one line:

   use Astro::MoonPhase;gmtime=~/17:42:/&&abs((phase time)[2])<1&&die;

Chris
--
Chris Dolan, Software Developer, www.chrisdolan.net
Public key: http://www.chrisdolan.net/public.key


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to