From: Rafael Garcia-Suarez [mailto:[EMAIL PROTECTED]]

> Michael G Schwern listed:
> [...]
> > warnings::register (almost no docs)

Hmm, would a "see L<warnings> and L<perllexwarn>." do?

> There are no tests for warnings.pm either.
>
> Note that there are two distinct points here :
>
> 1. test the warnings issued by the perl interpreter; this is done by
>    lib/warnings.t, that calls the various files in t/lib/warnings/*.
>    (Some warnings are also tested by other scripts in t/ : see the
>    test descriptions in MANIFEST).
>
> 2. test the *modules* warnings.pm (i.e. the functions
>    warnings::enabled(), warnings::warn(), etc.) and
>    warnings/register.pm. There are currently no tests for that.
>
> lib/warnings.t looks like it tests the 2d point, but in fact it tests
> the first.

Nope, it does both. The test files that start with digits are intended to
test the features of the warnings pragma itself along with it's interaction
with $^W. All the other files test specific warnings.

The tests for warnings::enabled and warnings::warn are in 9enabled.

Paul


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to