in reply to Help: Launch generated perl statements from a perl script

If I'm understanding you correctly, you're looking for eval.

open my $fh, "<", "launch_child.pl" or die $!; my $script = join '', <$fh>; close $fh; eval $script;

(In contrast to do, it does see lexicals in the enclosing scope.)