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.
| [reply] [d/l] |
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
| [reply] [d/l] |