Where's your package directive? You're installing "main::handler".#!/usr/bin/perl use strict; use Apache2::RequestRec (); use Apache2::Const qw(:common); sub handler { my $r = shift; $r->print("Content-Type: text/plain\n\n"); $r->print('TEST!'); return OK; } 1;
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Mod_Perl2: Cannot resolve handler
by merlyn
in thread Mod_Perl2: Cannot resolve handler
by cfreak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |