in reply to STDIN under MAC OS 10.4.11

This happened to me when i used ./ to run the file, when using perl filename.pl it worked fine.