in reply to Re: Spurious warning from require'd package
in thread Spurious warning from require'd package

splain
echo Name "ClearCase::Argv" used only once: possible typo at /usr/lib/ +perl5/site_perl/5.10/Argv.pm line 308. |splain Name "ClearCase::Argv" used only once: possible typo at /usr/lib/perl5/site_perl/5.10/Argv.pm line 308. (#1) (W once) Typographical errors often show up as unique variable nam +es. If you had a good reason for having a unique name, then just menti +on it again somehow to suppress the message. The our declaration is provided for this purpose. NOTE: This warning detects symbols that have been used only once s +o $c, @c, %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are con +sidered the same; if a program uses $c only once but also uses any of the +others it will not trigger this warning.

Replies are listed 'Best First'.
Re^3: Spurious warning from require'd package
by cramdorgi (Acolyte) on May 07, 2009 at 21:52 UTC
    Thanks.
    Somehow, the name that was reported as used only once should not have been "ClearCase::Argv" (the class name), but rather this of the object of that type, which was created and then not used anymore (after I had removed some code).

    But otherwise, the warning was useful and spotted a real, if minor, issue.

    Marc