How to determine if STDIN has piped data?

2004-03-28 Thread Keith P. Boruff
t's been some time ago. Thanks for any help you can offer. I'll gladly clarify if you don't understand. Keith P. Boruff -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: How to determine if STDIN has piped data?

2004-03-29 Thread Keith P. Boruff
Bryan Harris wrote: Alternatively, you can use the '-t' operator: exit 0 if -t STDIN I've been waiting for this for a LONG time, thanks Smoot. - B Excellent! Worked like a charm! This is exactly the kind of thing I was looking for. Thanks! Keith P. Boruff --