Test::...lScript(3pm)
π Test::Valgrind::Command::PerlScript
okay bestie, welcome to the Test::...lScript(3pm) page, straight outta the User Contributed Perl Documentation collection π«Ά pull up a chair, this one's short and sweet.
β¨ NAME β¨
Test::Valgrind::Command::PerlScript β it's a Test::Valgrind command that, like, invokes a perl script. that's the whole job. iconic behavior honestly πΈ
π VERSION π
Version 1.19
π DESCRIPTION π
So this command exists to abstract the argument list handling of a perl script. translation: it deals with the whole "what args do I hand this script" situation so you don't have to. lowkey a public service π
π METHODS π
This class inherits Test::Valgrind::Command::Perl. family tree matters, bestie π§
π¦ new
my $tvcps = Test::Valgrind::Command::PerlScript->new(
file => $file,
taint_mode => $taint_mode,
%extra_args,
);
The package constructor, and it takes several options, so let's go one by one π
$fileβ this is the path to theperlscript you want to run. and no cap, this option is mandatory. you cannot skip it. it's giving non-negotiable π$taint_modeβ technically this one is handled by the parent class Test::Valgrind::Command::Perl, but this subclass gives it some special treatment β¨ here's the tea: ifundefgets passed (which, btw, is the default), the constructor will try to infer the right value from the shebang line of the script. it just reads the vibes off line one π
Other arguments are passed straight through to Test::Valgrind::Command::Perl->new. no extra processing, they just get handed off like a relay baton π
π file
my $file = $tvcps->file;
Read-only accessor for the file option. look but don't touch, bestie π
π₯ SEE ALSO π₯
Test::Valgrind, Test::Valgrind::Command::Perl.
π AUTHOR π
Vincent Pit, <perl at profvince.com>, <http://www.profvince.com>.
You can contact him by mail or on irc.perl.org (vincent). he's literally reachable, go say hi π«Ά
π 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>.
The way this works: he will be notified, and then you'll automatically be notified of progress on your bug as he makes changes. mutual updates, we love a communication queen π β¨
πΈ SUPPORT πΈ
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Command::PerlScript
π 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. slay, open source π
and that's the whole page bestie, tysm for reading π«Ά this was perl v5.40.1, dated 2025-04-13, filed under Test::...lScript(3pm) β mwah, go run your script πβ¨
π¦ 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