diff options
author | Zefram <zefram@fysh.org> | 2010-04-23 01:52:47 +0100 |
---|---|---|
committer | Zefram <zefram@fysh.org> | 2010-04-23 01:52:47 +0100 |
commit | c5df3096702d4a814b3774dff243e7eb74814257 (patch) | |
tree | 93ec4463179fc3bf3e5ee20be2afa863b1d3a66a /MANIFEST | |
parent | 96d9b9cd40f1d98fda790eb12b5cdbeef8b48a81 (diff) | |
download | perl-c5df3096702d4a814b3774dff243e7eb74814257.tar.gz |
SV-based interfaces for dieing and warning
New functions croak_sv(), die_sv(), mess_sv(), and warn_sv(), each act
much like their _sv-less counterparts, but take a single SV argument
instead of sprintf-like format and args. They will accept RVs, passing
them through as such. This means there's no more need to clobber ERRSV
in order to throw a structured exception.
pp_warn() and pp_die() are rewritten to use the _sv interfaces.
This fixes part of [perl #74538]. It also means that a structured
warning object will be passed through to $SIG{__WARN__} instead of
being stringified, thus bringing warn in line with die with respect to
structured exception objects.
The new functions and their existing counterparts are all fully
documented.
Diffstat (limited to 'MANIFEST')
-rw-r--r-- | MANIFEST | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4513,6 +4513,7 @@ t/op/utftaint.t See if utf8 and taint work together t/op/vec.t See if vectors work t/op/ver.t See if v-strings and the %v format flag work t/op/wantarray.t See if wantarray works +t/op/warn.t See if warn works t/op/while_readdir.t See if while(readdir) works t/op/write.t See if write works (formats work) t/op/yadayada.t See if ... works |