opening 1 webpage calls the perl cgi script 3 times ?

view story

http://www.linuxquestions.org – Hi everyone, i implemented a webpage client, e.g. page1.pl, it works ok, in the browser i an open it fine. now in the beginning of this code, i count the number of instances this script gets called, sth. like ("ps -ef | grep page1.pl | grep wc -l"). I did run this command manually in linux prompt 1st. To my surprise, when i open it in browser, this count says 3, not 1 ? totally lost, why ? (HowTos)