I want to write some perl code that can detirmine when it has something in STDIN to process.
That should exit without wanting a character entered into STDIN. Whenever you try and read from STDIN, if it is empty, it waits til it has something in it and gets an EOF... I want to basically be able to test.... Is there something in STDIN? Yes - process the contents of STDIN... No - Skip processing STDIN and exit....
Am I being clear at all? Thanks for any advice...