I've been seeing these reasonably often on one server in my error log.

Use of uninitialized value.
Use of uninitialized value at /website/perllib/MLM/MLMhandler.pm line 56.

This is the relevent snippet of MLMhandler:

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

    # only works on main request
    return DECLINED unless ($r->is_main());

    warn "r->uri is undef" unless defined $r->uri; #### debugging?!?!?

    my $subr = $r->lookup_uri($r->uri); # uri is relative to doc root

    unless ($subr) {
      warn "error looking up '".$r->uri."'";
      return SERVER_ERROR;
    }
 ...
}

line 56 is the call to $r->lookup_uri().

Where might the uninitialized value be coming from?  Even after these
warnings are issued, $subr is defined.

mod_perl from CVS last week, perl 5.005_03, Apache 1.3.20, FreeBSD
4.3-STABLE.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

Reply via email to