sub require_if_present { my $mod = shift; eval { require $mod; return 1; } return 0 if $@; }