Re: strange uninitialized value error.

2001-06-26 Thread Vivek Khera

 RB == Rodney Broom [EMAIL PROTECTED] writes:

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

RB $uri = $r-uri;
RB  warn \$uri is undef unless defined $uri;  debugging?!?!?

worth a shot... let's see.  thanks.





RE: strange uninitialized value error.

2001-06-25 Thread Rob Bloodgood

   Changing:
  warn r-uri is undef unless defined $r-uri;  debugging?!?!?
  my $subr = $r-lookup_uri($r-uri); # uri is relative to doc root
 
   To:
 $uri = $r-uri;
  warn \$uri is undef unless defined $uri;  debugging?!?!?
  my $subr = $r-lookup_uri($uri); # uri is relative to doc root

Hmm... is $subr defined if $uri is EMPTY?

There's no check here for that.

(my $.02)

L8r,
Rob

#!/usr/bin/perl -w
use Disclaimer qw/:standard/;