Revision history for Perl extension Exception::Sink.
3.11 2026.09.24
1. sink(): fixed ID parsing, single word after CLASS is now the message,
not an undefined ID
2. sink(): missing CLASS now defaults to SINK as documented
3. sink(): die() location suffix is stripped for relative file names and
for the ", <FH> line N." form too; plain " at /path" text is kept
4. exception objects are always true in boolean context, so empty or "0"
messages are no longer swallowed by dive() and surface()
5. COPYING added to MANIFEST
6. surface() and dive() re-sink any non Exception::Sink::Class reference
(third party exception objects, plain refs), original reference is
kept in OBJ attribute
7. "Pkg::Name" text is no longer parsed as CLASS or ID
8. exception objects compare as strings (eq, ne, cmp, sort, hash keys),
previously these operations died with "no method found"
9. get_stack_trace() treats negative skip as 0
10. sink(undef) is the same as sink("")
11. FILE, LINE and PACKAGE point to the user code which called sink(),
boom(), dive() or surface(), not to Sink.pm internals
12. exception objects stringify like die() text: " at FILE line N.\n" is
appended unless the text already ends with a newline. uncaught
exceptions now print their origin. use $993>{ORG} for the bare text
13. boom() hides its internal boom_skip() frame from the stack trace,
trace starts with the boom() call site
14. docs updated
3.10 2026.09.20
1. fixed $pack::
3.09 2024.07.18
1. fixed stack frames numbers when skipping frames
2. fixed boom() prototypes
3.08 2024.07.08
1. added boom_skip($$) and optional skip argument to get_stack_trace()
3.07 2016.07.04
1. split file name from the line number in stack trace output.
this makes mouse double-click selection easier
3.06 2016.01.27
1. fixed get_stack_trace() return data in scalar context
3.04 2014.03.13
1. added get_stack_trace() function
3.03 2010.12.02
1. added exception stringification
3.02 2010.12.01
1. docs typo
2. surface2() fix
3.01 2010.12.01
1. history lost, initial CPAN release
2. added surface2()
Keyboard Shortcuts
Global
s
Focus search bar
?
Bring up this help dialog
GitHub
gp
Go to pull requests
gi
Go to GitHub issues (only if GitHub is preferred repository)