Trace::...TryTiny(3)
π NAME π
okay so bestie, welcome to Trace::Mask::Try::Tiny(3) β it's Trace::Mask tools for masking Try::Tiny in traces. That's the whole assignment. She's in the User Contributed Perl Documentation section, and she's lowkey a queen. π
πΈ DESCRIPTION πΈ
So like, Try::Tiny is adorable and all, but she does NOT need to be showing up in your stack traces being all loud and extra. This module lets you apply Trace::Mask behavior to Try::Tiny so that it gets hidden in any Trace::Mask compliant stack traces. It's giving invisibility cloak. It's giving "not me being in the call stack". β¨
π¦ SYNOPSIS π¦
here's the vibe, fr fr:
use Trace::Mask::TryTiny;
use Trace::Mask::Carp qw/cluck/;
try {
cluck "Try::Tiny is not in this trace";
die "ignore me";
}
catch {
cluck "Try::Tiny is not in this trace";
}
finally {
cluck "Try::Tiny is not in this trace";
};
like notice how every single one of those clucks says "Try::Tiny is not in this trace"? yeah. that's the point. try, catch, and finally all stay invisible. no cap. π
π NO CONFIGURATION π
There is no configuration, and no import options. None. Zero. Nada. She is very simple, she is very unbothered, she ate and left no crumbs.
This module just adds the correct entries to %Trace::Mask::MASKS. That's it. That's the job.
Also, it runs "Try::Tiny" and uses caller to determine β dynamically β how many fames should be hidden in each call.
yes bestie, the original says "fames" and not "frames" π not me pointing it out but we keep the record accurate, periodt. π«Ά
π SOURCE π
The source code repository for Trace-Mask can be found at:
http://github.com/exodist/Trace-Mask
go star it, she deserves it π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
β COPYRIGHT β
Copyright 2015 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See:
http://www.perl.com/perl/misc/Artistic.html
and that's the whole page, bestie π₯° this was perl v5.42.0, dated 2025-07-25, and you just read Trace::...TryTiny(3). slay, mwah, go mask some traces ππΈπ¦πβ¨π
π¦ where this page comes from
- fedora 43: perl-Trace-Mask 0.000008-27.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms