in reply to Yet Another CGI question
It's not a bug, it's a feature:
Just like passing variables via GET or POST, you have to give varibles like 'foo=bar'. Just hit Ctrl-D one or more times (depends on how many parameters it expects), then your script finishes.