Ronald Kimball suggested
> On Tue, Jul 02, 2002 at 03:59:08PM +0900, Joel Rees wrote:
> > Get this warning, and I know why, but it mentions an "our declaration":
> >
> > ---------------------------------------------------
> > Name "URI::URL::ABS_REMOTE_LEADING_DOTS" used only once: possible typo
> > at
> > autohits.pl line 282 (#1)
> > (W once) Typographical errors often show up as unique variable names.
> > If you had a good reason for having a unique name, then just mention it
> > again somehow to suppress the message. The our declaration is
> > provided for this purpose.
> > ---------------------------------------------------
> >
> > Don't find any "our" in my wonderful plethora of (two old) manuals.
> > Anyone care to enlighten me?
>
> Did you look in the documentation that came with the version of Perl which
> produced this error message? :)
I should have posted a "solved it" message before I left last night.
Someone on the activestate list reminded me about
perldoc perlfunc
and I read the section on "our" from that, but couldn't really figure
out how to apply it to my error. So I went back to the URI perldoc and
re-read it, and lo and behold, it has a typo, which is why I was getting
the warning about single reference:
URI::URL::ABS_REMOTE_LEADING_DOTS
should have been
URI::ABS_REMOTE_LEADING_DOTS
That way, I'm properly referring to an existing switch in the (current
version of the) LWP module.
Anyway, I went over to cpan and posted a bug report on the perldoc. Hope
I did it right, it's my first bug report over there.
Thanks.
--
Joel Rees <[EMAIL PROTECTED]>