in reply to Re: how can this be improved?
in thread how can this be improved?

>>> die ... unless $^O =~ /aix/;
I like it. thanks.

>>>I'm not sure about that whole $recipient thing. Are you expecting an argument?

The idea is that, if the user wishes to edit the script and change the value of $recipient, then that value will be used, but if not, then "root" will be used. I'll make that clearer in the code and the pod.

>>> the only other thing I'd change is your @mail array and ALL those sprintf()s.

thanks! I like that suggestion.