I'm assuming you are on a Windows Machine using Active State Perl from the Context of your post - - - - in the more recent versions, you are offered the use of wperl.exe in lieu of perl.exe - - - - - wperl.exe will suppress the command prompt window while executing your Perl Script.
/Gridlock a.k.a. Debashis
"Codito Ergo Sum"