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 the perl script 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: if undef gets 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 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