load() eliminates the need to know whether you are trying to require either a file or a module. WWW: https://metacpan.org/release/Module-Load