in reply to Verifying File Type Using Only Modules from basic distribution of Perl
Like all CPAN modules, the source is freely available. You can either install the module yourself in a private directory, and put a 'use lib qw(/path/to/my/lib)' in your program, or as a last resort, copy the source right into your program. The only downside is that these lazy sysadmins create a maintanance nightmare when other people want to use the same module, and/or everyone has their own lib directories taking up disk space.
Update: If the module has no XS component, and consists only of '.pm' file(s), and does not need to be AutoSplit (and File::MMagic seems to qualify), then just the '.pm' file needs to be uploaded (or just copied into your source which you upload).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Verifying File Type Using Only Modules from basic distribution of Perl
by jerrygarciuh (Curate) on Dec 15, 2001 at 02:10 UTC | |
by mortis (Pilgrim) on Dec 15, 2001 at 02:17 UTC |