in reply to problem with INC

You can try

use lib "/home/user/scripts";
or
BEGIN{ push @INC,"/home/user/scripts";}
Of course, you want to make sure that /home/user/scripts is a valid path at run-time...

To be quite honest I prefer the first method over the second one and haven't used a BEGIN block in a very long time.


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.