perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Rolsky <auta...@urth.org>
Subject Re: method handlers broken in latest CVS?
Date Sat, 18 May 2002 03:24:24 GMT
On Fri, 17 May 2002, Doug MacEachern wrote:

> actually, 5.6.1 would have had the same issue.  its 5.6.0 where G_METHOD
> is not implemented.  if you give a whirl with cvs, it should be working
> now.

Yep, that part seems to work fine.

> ok, i'd need a test case to reproduce to figure out the problem.

But of course.

Apache config:


PerlModule Apache2

PerlModule Apache::compat

PerlSwitches -w -Mlib=/home/autarch/mason/dist/lib

<IfModule mod_perl.c>
  <Directory /var/www>
     SetHandler perl-script
     PerlResponseHandler HTML::Mason::FileEcho
  </Directory>
</IfModule>


And code:

package HTML::Mason::FileEcho;

sub handler
{
    my ($r) = @_;

    print "File is ", $r->filename, "\n";

    return 200;
}

1;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message