in reply to CGI -debug question
foo.pl < nvPairs.txt [download]
To me this syntax works correctly (under Linux), and the script doesn't hang at all. However, you may try:
cat nvPairs.txt | ./foo.pl # Unix type nvPairs.txt | foo.pl # Windows [download]
Michele.