#!/usr/bin/perl BEGIN { unshift(@INC,'.')}; $|=1; my $pid = $$; use Module($pid); # I can pass a constant here, but no $pid print "ztest->$$\n"; while(1){ print 1; sleep 1; }