in reply to web page update notifier

I'd be even happier if you used Text::Diff or something equivalent instead of a system call. :-)

ihb

Replies are listed 'Best First'.
Re^2: web page update notifier
by Juerd (Abbot) on Jun 18, 2004 at 07:10 UTC

    I'd be even happier if you used Text::Diff or something equivalent instead of a system call. :-)

    For something that runs once per day, it's not worth the trouble. I even use `cat foo` in scripts like this one.

    Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

      In short, my point is that when sharing it with other monks I'd be happier to see a portable snippet since it doesn't require much work to make it that. Of course, it's better to share a non-portable snippet than not share at all; that's why I said "happier" and not "happy".

      It's not worth the trouble for you when you use it, but since this post isn't targeted to you I just figured it would be nice if you patched it so that more could benefit from it. Just as you'd do with any CPAN module you publish.

      ihb