using cpan: invoke cpan, either by running
perl -MCPAN -e shell; or, if it's set up, just cpan You will get a prompt. If you are trying to find a particular module, but you aren't sure of the whole name, you can search for it as so: cpan> i /someModuleName/ It will look it up, and spit out all the matches. If you see what you want, you may install it by running cpan> install ModuleName for instance, to install spamassassin: cpan> install Mail::SpamAssassin This will download, make, test, and install the package, including any dependencies. That last bit is important. You will be asked if you want to install the extra modules. Say yes if you want it to work correctly, unless you are doing something tricky. At this point, you shouldn't be doing anything tricky, so just say yes. -------------- Using a cpan module is just like any other module: use ModuleName; Everything that happens will depend on the module. You should go right now and read: perldoc cpan perldoc perlmod I suggest you also take a look at perldoc Getopt It's an easy to understand module, and useful for command line programs. -- Sharp tools prevent accidents, and foster intent. http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>