Re: mod_perl and $0

2013-04-15 Thread Torsten Förtsch
On 15/04/13 08:12, Jan Kaluža wrote: > A: is it conceivable that we fix mod_perl so that it actually returns > the correct value for $0? I probably missed the original mail. Sorry about that. But what would the "correct value of $0" be? For registry scripts I can imagine something similar to $SC

Re: mod_perl and $0

2013-04-14 Thread Jan Kaluža
On 04/12/2013 09:15 AM, Michiel Beijen wrote: Hi, According to perldoc perlvar the special variable $0 "Contains the name of the program being executed". My application uses $0 and FindBin to add some relative subdirectories to @INC. This works fine in CGI context, and when scripts are run from