in reply to Not able to load module though @INC contains it

Hi,

The problem coluld be that the STAF variable list is not updated. If Staf is in folder /usr/local/staf then PLSTAF.pm file will be in /usr/local/staf/bin folder. To get rid of the error set PERLLIB to point to /usr/local/staf/bin and then restart staf.

After this step verify if staf variable list has PERLLIB with /usr/local/staf/bin included in it.

To stop staf use: staf local shutdown shutdown

To restart Staf use(in background): STAFProc &

To verify the variable list use: staf local var list.

Hope this helps.

Regards

Mahesh V.Shet

  • Comment on Re: Not able to load module though @INC contains it

Replies are listed 'Best First'.
Re^2: Not able to load module though @INC contains it
by chilukuri_perl (Novice) on Nov 30, 2009 at 14:46 UTC
    No use. OS is Solaris 5.10 Is it PERLLIB or PERL5LIB? btw, do you use STAF in production?