[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DProf - "Corrupting" __FILE__


Hi,

We've got some code which currently uses __FILE__ in order to determine the name of the currently executing Perl script.

However, if DProf is enabled within Apache, I note that __FILE__ gets
"corrupted": it no longer contains the name of the script.

Is there a way of stopping this from happening, or should I just modify the various scripts to use $ENV{SCRIPT_NAME} instead?

Thanks in advance,

Tris.

	


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.