Test::...d::Perl(3pm)
πΈ NAME πΈ
Test::Valgrind::Command::Perl β it's a Test::Valgrind command that invokes perl. That's the whole thing. That's the vibe. π
Oh also hi bestie, you've landed on the Test::Valgrind::Command::Perl(3pm) page from the User Contributed Perl Documentation, so like, buckle up. π«Ά
β¨ VERSION β¨
Version 1.19. She's been through some eras and she's thriving. π
π¦ DESCRIPTION π¦
Okay so listen. This command is the base for literally every perl-based command. The blueprint. The blueprint-est blueprint to ever blueprint. ποΈβ¨
What does she actually do? She handles the suppression generation and she sets the main command-line flags. That's it, that's her job, and she eats every single time. π₯
π METHODS π
This class inherits Test::Valgrind::Command. Family tree moment, we love a good lineage. π³
π new
my $tvcp = Test::Valgrind::Command::Perl->new(
perl => $^X,
inc => \@INC,
taint_mode => $taint_mode,
%extra_args,
);
The package constructor, and she takes several options:
- The
perloption specifies whichperlexecutable will run the argument list given inargs. Defaults to$^X. incis a reference to an array of paths that will be passed as-Ito the invoked command. Defaults to@INC.$taint_modeis a boolean that specifies if the script should be run under taint mode. Defaults tofalse.- Other arguments are passed straight to
Test::Valgrind::Command->new. No gatekeeping, they just go. πͺ
π perl
my $perl = $tvcp->perl;
Read-only accessor for the perl option. Look but do not touch, she's not yours. π
π inc
my @inc = $tvcp->inc;
Read-only accessor for the inc option. Same energy, same boundaries. β
π taint_mode
my $taint_mode = $tvcp->taint_mode;
Read-only accessor for the taint_mode option. Iconic, honestly.
π env
my $env = $tvcp->env($session);
Returns an Env::Sanctify object that sets the environment variables PERL_DESTRUCT_LEVEL to 3 and PERL_DL_NONLAZY to 1 during the run.
Sanctified. Cleansed. Immaculate. The environment gets a full spa day before the run. π§β¨
π SEE ALSO π
Test::ValgrindTest::Valgrind::CommandEnv::Sanctify
Go read those too, they're the supporting cast and they're all slaying. π«
π AUTHOR π
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
You can contact me by mail or on irc.perl.org (vincent).
π BUGS π
Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
So like, tell them, and then the system tells you back. It's a whole mutual-notification situationship and it actually works. π«
π«Ά SUPPORT π«Ά
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Command::Perl
π COPYRIGHT & LICENSE π
Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
That's the whole page bestie, go forth and valgrind responsibly π§π
And for the record, this one shipped with perl v5.40.1, dated 2025-04-13, under the title Test::...d::Perl(3pm) β yes she has a birthday and a version stamp, she's that girl. ππ mwah π
π¦ where this page comes from
- debian trixie: libtest-valgrind-perl 1.19-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-valgrind-perl 1.19-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-valgrind-perl 1.19-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms