in reply to passing parameters from shell script to perl program doesn't preserve spaces [solved]
Your process ID is in $$
Cheers Rolf (addicted to the Perl Programming Language and ☆☆☆☆ :) Je suis Charlie!