Stas Bekman wrote:
Octavian Rasnita wrote:

Hello,

I have finished (I hope) installing mod_perl rc5 under Windows 2000, and I
have tried the server using http://localhost/perl-status.


I was able to use it very well, until I have tried to see the following
links in order:
Loaded Modules - Apache::Const - Apache::Const::OK - Syntax Tree Dump
(execution order)
[...]
In the error log, the only error was:

[Fri Apr 29 19:17:00 2005] [error] [client 127.0.0.1] err: coderef has no
START\n, referer:
http://localhost/perl-status/Apache2::Const::OK/FUNCTION?cv_dump
---

I have also tried the following links in order:
Loaded Modules - Apache::Const - Apache::Const::OK -  - Syntax Tree Dump
(syntax order)

But it gave me the following error in the log file:

[Fri Apr 29 19:42:20 2005] [error] [client 127.0.0.1] err: unknown function
(main::slow)\n, referer:
http://localhost/perl-status/Apache2::Const::OK/FUNCTION?cv_dump
---


Could this be a bug, or I need to change something in the script to make it
compatible with Windows?


It's more like B::Terse bug, notice the comment:

sub noh_b_terse {
    my $r = shift;

    $r->content_type("text/plain");
    return unless has($r, "terse");

    no strict 'refs';
    my($arg, $name) = (split "/", $r->uri)[-2,-1];
    $r->print("Syntax Tree Dump ($b_terse_exp{$arg}) for $name\n\n");

    # XXX: blead perl dumps things to STDERR, though the same version
    # works fine with 1.27
    B::Terse::compile($arg, $name)->();
}

I get the same problem on linux/prefork mpm.

I've reproduced this problem at the command line and filed a bug report: http://rt.perl.org/rt3/index.html?q=35849

Notice that it happens only with XS subs.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to