http://www.perlmonks.org?node_id=140519

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?

Thanks


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
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------
Translate


"Weird things happen, get used to it."

Flame ~ Lead Programmer: GMS