in reply to Mod_Perl2: Cannot resolve handler
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mod_Perl2: Cannot resolve handler
by cfreak (Chaplain) on Oct 30, 2005 at 16:18 UTC | |
by merlyn (Sage) on Oct 30, 2005 at 22:19 UTC |