I've got xampp with mod_perl running out of the box.
I have a small perl script to list all files in the current directory (the directory the script is in, "./") which works on servers with proper perl (not mod_perl), but xampp (with mod_perl) on my desktop seems to think c:/xamp/ is the current directory, no matter where the perl script is placed.
Hardcoding the correct path will break the script for other servers and building a function to detect wether or not the script is running on xampp is just silly. The current directory should just be the directory the script is placed in.
I'm sure this is just a configuration error, but I'm not sure what to look for.
How can I fix this?