Re: Should Test2 maintain $! and $@?
[email protected] (Ricardo Signes) Mon, 11 Jan 2016 22:04:27 -0500
| Newsgroups | perl.cpan.workers |
|---|---|
| Message-ID | <20160112030427.GA26562@debian> |
* Chad Granum <[email protected]> [2016-01-11T19:53:15] > However. It is easy enough to have Test::Builder/More protect $! and $@ > without requiring Test2 to do so. I don't have really strong feelings here, but the general reaction on p5p over the years to "some core library changes $! needlessly" is: $! is only reliable (a) *immediately* after a routine that uses $! to communicate and (b) if that routine returns in error. In some rare cases it's worth maintaining that. Mostly, we say "too bad." -- rjbs
signature.asc
(application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWlG06AAoJEOYby6cMccU5JuIIALIKmBBI9dvp6XlaoicFQMLY ntG9Xg+tHVEhLjcRtC78LYvyQ3nzML2gQt3VV1Qdb3TlE+FrPEHqTB5HPHkqBC3q N8UC29GhQEkx995pOx32wrRzXuEpdLcKIcRBY2I4IjziZ2OVrovVD4fAL45MOYju HPgDWGZrlHSvc/5zdDWM9XEQtm1lY67ZvTZ2LZgJOCZrg/V9zn4Iq0PIBH9lBJuH XjyljlZ9OSmI7gUJV/6LJ1FQ8QU3PhZMLHlYd6sSg4W5OafUchXRMIRZKjRjtz+Z eTCHqkID78i2munne9S8OjbjUzVlpSsP8+pasUG6QnXqHDOvE7xi1xMO1Fu53Sg= =mnDD -----END PGP SIGNATURE-----