Test::L...::Script(3)

πŸ’– NAME πŸ’–

Test::LeakTrace::Script β€” A LeakTrace interface for whole scripts. And yes bestie, this page is Test::L...::Script(3) from the User Contributed Perl Documentation, so you're in the right place. 🫢

✨ SYNOPSIS ✨

okay so here's the exact vibe check:

#!perl -w
use Test::LeakTrace::Script sub{
        my($svref, $file, $line) = @_;

        warn "leaked $svref from $file line $line.\n";
};

πŸ¦‹ DESCRIPTION πŸ¦‹

This is an interface to Test::LeakTrace for whole scripts. That's the whole assignment, no cap. πŸ’…

🌈 INTERFACE 🌈

πŸ’» Command line interface πŸ’»

Three ways to run it, bestie β€” pick your fighter:

$ perl -MTest::LeakTrace::Script script.pl

$ perl -MTest::LeakTrace::Script=-verbose script.pl

$ TEST_LEAKTRACE=-lines script.pl

🌸 ENVIRONMENT VARIABLES 🌸

πŸŽ€ TEST_LEAKTRACE=mode πŸŽ€

Set TEST_LEAKTRACE=mode and pick a mode, okay? The full menu is:

  • -simple β€” the DEFAULT one, iykyk.
  • -sv_dump
  • -lines
  • -verbose

πŸ‘‘ SEE ALSO πŸ‘‘

Test::LeakTrace β€” go read that one too, bestie. πŸ’–


xoxo, your Perl bestie πŸ’… β€” this page is from perl v5.42.0, dated 2021-01-06, and the title is Test::L...::Script(3). Periodt. πŸŽ€

πŸ“¦ where this page comes from