in reply to CGI::FormBuilder, @INC, sun4-solaris

Where have you put the CGI::FormBuilder modules? It seems like your @INC cannot find them; an easy fix is to modify your script to include the location. For instance, if your modules are in /home/username/lib, add the following to the top of your script:
BEGIN { unshift @INC, '/home/username/lib' }
-s.

Replies are listed 'Best First'.
Re: (2) CGI::FormBuilder, @INC, sun4-solaris
by Anonymous Monk on Jan 05, 2004 at 17:50 UTC
    I added the statement to the script as you suggested and also conducted a search to verify the location of FormBuilder.pm
    /usr/local/lib/perl5/site_perl/5.8.0/CGI/FormBuilder.pm /usr/local/lib/perl5/site_perl/5.8.0/FormBuilder.pm /usr/local/lib/perl5/FormBuilder.pm

    I still get the following error after running the script:

    Software error: Can't locate CGI/FormBuilder.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.0/CGI/ /usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl ) at /www/cgi-bin/test.cgi line 6 BEGIN failed--compilation aborted at /www/cgi-bin/test.cgi line 6.

    janitored by ybiC: Balanced <code> tags around error message and other minor format tweaks for legibility