|The stupid question is the question not asked|
Win32 Apache && File::Basenameby Flame (Deacon)
|on Jan 22, 2002 at 03:18 UTC||Need Help??|
Flame has asked for the wisdom of the Perl Monks concerning the following question:
I've been using File::Basename on $0 to get the filename of the current program for quite a while, however, now I'm having a few problems. Although it all works perfectally from a DOS prompt, executing it under an apache server returns a dos filename (eg: guildmaster.cgi becomes (after an lc() was applied to it) guildm~1.cgi.)
To summerize my question, is there any way to get the long filename instead of the dos filename?
-----BEGIN GEEK CODE BLOCK-----
GIT d- s:++ a--- C++++ UL P+++>++++ L+ E- W++>+++ N !o K- w+ O---- M-- V--
PS PE Y- PGP t++(+++) 5(+++)++++ X R+@ tv+ b+++ DI+ D- G e->+++ h! r-- y-
------END GEEK CODE BLOCK------
"Weird things happen, get used to it."
Flame ~ Lead Programmer: GMS