|
If "Can't locate preinit.pm..."error is occured you need to change the first line in each of the files with the 'cgi' extension (see example below). This will specify include (@INC) directory for the Perl. Make sure that the first line in each of the files with the 'cgi' extension contains the correct path to the Perl interpreter. In most cases the line '#!/usr/bin/perl' is correct. If it is not so, you should change the line according to the specifications of your server.
Examples:
#!/usr/bin/perl -I/directory/where/preinit.pm/file/is/located #!/usr/bin/perl -Ic:\directory\where\preinit.pm\file\is\located