[clug] Perl "Preprocessor".

Owen rcook at pcug.org.au
Wed Feb 25 05:34:09 GMT 2009

> Preface: I don't like Perl modules, well OK, actually I like them
> dont like to distribute perl scripts that require a module to be
installed to my (generally newbie) users.

There are the modules which are included in the standard distribution,
so you should have no problem using them

> So is there some nice doo-hoozit that will scan a perl script and
include the various Modules when it encounters a "use" or the likes?

The main problem is that modules that are not in the standard
distribution may need building against the target architecture.( a lot
of modules are architecture independent, but you don't find that out
till you build them)

The simple solution is to take the code in the module and adapt it to
your script.


More information about the linux mailing list