if($roll_your_own == 1){ system('a_different_script.pl'); }else{ go_at_it_yourself(); } #### if($roll_your_own == 1){ require RollYourOwn RollYourOwn::rollit($do_this) }else{ go_at_it_yourself(); }