I think use lib "/blahblah/blahblah/" should fix that. Just put in the appropriate 
directory path.

John Pitchko
Data Services
Saskatchewan Government Insurance

>>> "Batchelor, Scott" <[EMAIL PROTECTED]> 08/28/02 10:34am >>>
I have installed the Crypt::Cracklib Module on my Redhat Linux 7.2 box

And I am calling it from my perl script as such:

use Crypt::Cracklib;
      $dict = /usr/share/dict/words
      my $reason = fascist_check($mpass, $dict);
      $syn_error = "ok" if check($mpass, $dict);
      $syn_error = "crack" if !check($mpass, $dict);

But I am getting an error when I try to call this.

It is saying that the @INC is saying one thing and Cracklib.pm is in another location.

So my question is can I define the @INC as a specific path at the top of my perl 
script or right before I call Crypt::Cracklib

Thanks in advance.

Scott

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

Reply via email to