in reply to How to tell if a package is loaded
if (exists $INC{'FindBin.pm'}) { print "FindBin is loaded\n"; } [download]