in reply to Power Failure Notify via IRC

Next up will be a power failure notifier via MSN.

Why create a separate version for each IM service? Instead of that approach, you could merge them all together into one script that includes an argument that specifies which service or services to use. Something like

perl pwr_fail.pl -{A|I|M}

where A uses AIM, I for IRC, M for MSN, etc, would be, in my opinion, more user-friendly than three or four separate scripts.


dcpve - Just a noder/perl hacker

Replies are listed 'Best First'.
Re: Re: Power Failure Notify via IRC
by mousey (Scribe) on Aug 25, 2002 at 07:13 UTC
    Well, I would do this, but you probably didn't notice, but these are merely snippets, not a full program (snippets or cool use for perl? i vote cool). Although, at some point, I will incorporate an entire script that runs as a daemon that will do all of them, depending on arguments. I will post the MSN notifier soon. The reason I have not completed it sooner, is because MSN.pm only allows you to reply to IMs, not send them out. So, i'm gonna hack it up.