in reply to About how PERL scripts execute

Try the CGI::Push or CGI modules.

Ignore the text that says it doesn't work in Internet Explorer, as that's out of date. Links 2 from Gossamer Threads uses nph (non parsed header) scripts to show the progress of the pages it builds, and that works fine in IE5 on an NT4 system with either Apache or PWS and ActivePerl.

It might help to take a peek at the code for that too (check the files that start with "nph-").

__________
"Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction which doesn't work." -- (Author Unknown)