Front page | perl.perl5.porters |
Postings from March 2003
Re: [PATCH] assertions
Thread Previous
|
Thread Next
From:
Rafael Garcia-Suarez
Date:
March 4, 2003 14:08
Subject:
Re: [PATCH] assertions
Message ID:
20030304230856.7011e453.rgarciasuarez@free.fr
Salvador Fandiño wrote:
> I have been working a little further in the assertions thing.
Thanks, applied as change #18228, as well as your patch to ext/B/t/deparse.t.
> Changes included in this patch are:
>
> - a new "assertions" warning category added.
>
> - added warning when an assertion is called without appearing "use
> assertions" first.
I also documented it in perldiag.pod.
> - perl5db.pl updated to the new '-A' switch usage and @{^ASSERTING} var.
>
> - small bugs in assertions.pm that where causing warnings when perl
> was run with '-W' corrected.
To do :
- docs
- test the new warning
- include this new warning in the other warning lists (perllexwarn.pod,
others maybe ?)
For later :
I'd like to turn HINT_ASSERTIONSSEEN (at least) into a field in %^H.
No need for it to be in $^H for efficiency.
Thread Previous
|
Thread Next