in reply to Re^2: In the BEGINing there were no forks?
in thread In the BEGINing there were no forks?

Ahh, I see. My apologies

Well, for the child, you're pretty much hosed outside the begin block, so maybe split up the BEGIN block into one file and the logic into another?

BEGIN { $pid = fork(); require "logic.pl" if $pid; } require "logic.pl";


Dunno, just a thought. Good luck with it