![]() |
|
P is for Practical | |
PerlMonks |
Checking for STDINby dbmathis (Scribe) |
on Jul 30, 2008 at 01:13 UTC ( [id://700975]=perlquestion: print w/replies, xml ) | Need Help?? |
dbmathis has asked for the wisdom of the Perl Monks concerning the following question:
HI all, 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.
Back to
Seekers of Perl Wisdom
|
|