Dan Anderson wrote:

> If I download DBD modules for DBI off CPAN, what is the directory I
> should put them in so they can be used by all perl scripts on the
> system?

Don't do that.  Use the CPAN utility built into Perl.  [if your on
Windows, try ppm first].  Downloading then installing by hand is really
reinventing the wheel.

That being said, simple, pure-Perl modules with no need for
compilation, can usually be placed anywhere in @INC and work.  If you
don't know what's in @INC, try:
> perl 'perl -e "print $_  for @INC"
on 'nix, or
path> perl -w
perl -e "print $_  for @INC"
^Z    [Ctl-Z combination]
on Windows/DOS

Save yourself some trouble, though, and use the built-in tools for
installing modules:

> perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install MyWantedModule

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to