On 03/15/04 15:00, Wiggins d Anconia wrote:

Not necessarily true. perldoc expects POD, which can be internal or external to a particular module's source code, it is possible to remove the documentation and still have the module installed. Slightly better would be to just invoke the perl interpreter with -M and see if it spits out an error. For instance,

perl -MCGI
(hangs waiting for input, use Ctrl+c to end)

perl -MCGI -e1


perl -MCGId
Can't locate CGId.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.

perl -MCGId -e1


(1 is a valid perl program; it returns 1)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to