LPM: test
Frank Price
fprice at mis.net
Wed Nov 17 10:33:25 CST 1999
On Tue, 16 Nov 1999, R Mullikin wrote:
# How would I know if I have the Test::Template module or not?
# I run RH 6.0 at home on a DEC Alpha, and I installed Perl on
# several of our Dell/NT machines at the office (along with VIM).
<Homer>Mmm, vim, so delicious...</Homer>
I don't know if this will work under NT, but on *nix what I do to test
for a module is
perl -MText::Template or
perl -e 'use Text::Template; print "";'
Both these will try to load the module, and print an error if it can't
find it in the "expected places." HTH,
-Frank.
____ ____
Frank Price Unix sysadmin, Perl
fprice at mis.net & Web Programming
More information about the Lexington-pm
mailing list