pankaj41483 has asked for the wisdom of the Perl Monks concerning the following question:
....... so on i need to add some of my custom perl modules as well here. These modules are common that are being used for my different perl scripts. I want not to include all these on all perl scripts. just include this abc.pm into my perl scripts and all modules that are defined into abc.pm should be included on my perl script. like:package abc; use strict; use File::Path 'mkpath'; # for mkdir #use warnings; use integer; use File::Basename; use File::Copy; # for move use IO::Zlib; # to read gzip input files use IO::File; # to read non gzip input files use Text::Trim; use Data::Types qw(is_int is_string); use Shell qw (cat); use Sys::Hostname; use Time::Local;
help needed. Thanks.#myscript.pl use abc; ## i just need to include abc.pm and can use the module features that +are defined into abc.pm.
|
|---|