Hi - I'm a rookie; I'm developing a handler under mod_perl 1.99-09-dev (cvs) and Apache 2.0.44.
The handler works w/o subs; but when I split it up with 'local' subroutines, as: # file:MyApache/Redirect.pm # --------------------------- package MyApache::Redirect; use strict; use warnings; use Apache::RequestRec (); use Apache::Log; use Apache::Const -compile => qw(DECLINED HTTP_MOVED_TEMPORARILY); sub handler { my $r = shift; [...] my $redirect = process_ssl ($uri); [...] } sub process_ssl { [...] } 1; My error-log shows: [Thu Mar 13 05:03:36 2003] [error] [client ::1] Undefined subroutine &MyApache::Redirect::process_ssl called at /srv/www/perl/MyApache/Redirect.pm line 36. I'm missing something kind of basic here, but the examples on the mp2 site show handlers with subroutines (Eagle book too). Aloha => Beau;