Hello,
I am using OTRS on a RedHat 6.5 with apache2 and mod_perl2. We are using these
packages (yum info feedback):
Installed Packages
Name: httpd
Arch: x86_64
Version : 2.2.15
Release : 39.el6
Name: mod_perl
Arch: x86_64
Version : 2.0.4
Release :
t;log()->debug($msg);
> EOE
>
> }
>
> mod_perl 2.0 API allows you to explicitly path __LINE__ and __FILE__
> arguments, to the logging functions.
Thanks for the tip! We'll probably end up using something like this.
I guess there is still the question of why 'goto &NAME' doesn't work.
Is this a bug? Is it a known bug?
Frederik
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
wrapper function in the following manner:
sub mydebug {
my $msg = shift;
@_=(Apache->server()->log(), $msg);
goto &Apache::Log::debug;
}
doesn't change the behavior - it still manages to print the file and
line number of the 'goto' statement, not of the caller o