Hi Haj, thank you for taking the time to review my issue and my sincere apologies for not being clear. The test script is the expected outcome and works as shown when reading from the pipe. My actual script ONLY enters the can_read() if clause when I am debugging. When my test script dumps the table to STDOUT, can_read() checks stdin (SHOWN), and after detected, I then plan to read the data within the if clause (NOT SHOWN).