in reply to Is it possible load optional modules from PERL5OPT?

Easiest just to change your export to test whether to set PERL5OPT:
if `perl -MInternal::Module -e0 2>/dev/null`; then export PERL5OPT +=-MInternal::Module; fi
Though possibly you want PERL5OPT="-MInternal::Module $PERL5OPT" in case the env var is being used for something else too?