Yup, you can use most modules with two steps: add a directory to you @INC path, and put the module in that directory tree. For example, say you want to use Date::EzDate. First, decide where you want to put your library directory. Let's say you want it in a dir named lib which is in your home directory, /homes/nimdokk/lib. You would put Date::EzDate into the Date/ directory:
/homes/nimdokk/lib/Date/EzDate.pm. Then, set the lib directory near the top of your script, and use Date::EzDate:
#!/usr/local/bin/perl -wT
use strict;
use lib '/homes/nimdokk/lib';
use Date::EzDate;
-Miko
|