How would I go about added a check for STDIN in my perl script so that I can choose between STDIN or a logfile without failing when my script is used within a cron job?
After all this is over, all that will really have mattered is how we treated each other.