Heya Qasic,
I added the code you recomended above
($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules");
My code now looks like this:
# Note: If you ain't Infopop or an Infopop licensee, you DON'T HAVE ANY
# right to use it!
############################################################################
# Get the script location: UNIX / or Windows /
($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1");
# Get the script location: Windows
($0 =~ m,(.*)\[^\]+,) && unshift (@INC, "$1");
($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules");
use lib("./Modules", "."); # in the event $0 is not set
The new error is:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Can't locate UBBCGI.pm in @INC (@INC contains: ./Modules . F:/Perl/lib F:/Perl/site/lib) at F:InetpubTestAlteredDestinycgi-binavatarlist.cgi line 22.
BEGIN failed--compilation aborted at F:InetpubTestAlteredDestinycgi-binavatarlist.cgi line 22.
Basically, the error is occuring in line 22 instead of line 17 now.
I'll toy with it a bit to see if i can figure it out. If you have any ideas, they would be much appreciated.