http://qs1969.pair.com?node_id=529140


in reply to make a required script exit script

Have you tried exiting in the required script?

test.pl
#!/usr/bin/perl -w use strict; require "test2.pl"; print "Shouldn't ever print me!\n";


test2.pl
#!/usr/bin/perl -w use strict; print "In required\n"; exit;


Test it
> ./test.pl In required >