Trace::...TryTiny(3)

πŸ“¦
version 0.000008 Β· 2 versions
, in fedora 43

πŸ’– 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 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