Dear PerlMonk
I'd like to add an email notification when modified date is old.
My system admin told me to use Mailx (mailx -s "Subject" emailaddress@something.xxx)
Here are the two lines that check the 2 variables in question. How would I write Perl code so that each check sends a email.
##My Code Start######
# If lacecurrent is not equal to today then do not run
die if ( -M $currentlist_file > 1);
die if ( -M $pre_historical_file > 2);
###My Code Stop#######
Thanks
Steve