Here's a quick Devel::AssertLib hack. Comments welcome. Please Cc my home address ([EMAIL PROTECTED]).

  http://shorterlink.org/3253    [sourceforge web CVS jobby]

$ perl -Ilib -MDevel::AssertLib=lib,crypt -e exit

$ perl -Ilib -MDevel::AssertLib=lib,hlagh -e exit
Can't build and link to one of [-lhlagh]
BEGIN failed--compilation aborted.

$ perl -Ilib -e 'use Devel::AssertLib lib => [qw(crypt hlagh)];exit'
Can't build and link to one of [-lcrypt -lhlagh]
BEGIN failed--compilation aborted at -e line 1.

and by not passing a 'lib' argument at all, it checks to see if the compiler works, as a nice shiny side-effect.

--
David Cantrell

Reply via email to