Thanks for your help - this works as expected ... Johannes > PERL on Win32 has a quirk that it doesn't get stdin correctly unless > you call PERL and pass it your script name (with any other args). > > DEFAULT perl myscript.pl ...