I want to create a Base class that exports the following modules everytime I use it:
use 5.018;
use Data::Dumper;
use Warning;
#etc etc
Similar questions:
- (2017) Shortcut to import modules?
- (2016) Perl import into all my packages?
- (2015) How to load a bunch of perl modules into a perl script
- (2013) Is there any way to “auto-use” certain modules everytime I write a script?
- (2012) How to include a file that contains all the required Perl module names?
- (2011) How to “use” multiple modules with one “use”?
- (2011) How to make “use My::defaults” with modern perl & utf8 defaults?
- (2011) Explanation how to works the “uni::perl” module - loading pragmas and other modules
- (2011) How to share the import of a large list of modules between many independent scripts?
- (2010) How do I group my package imports into a single custom package?
- (2009) Is there a way to “use” a single file that in turn uses multiple others in Perl?