1Test::Valgrind::CommandU:s:ePrerCloSnctrriipbtu(t3e)d PeTrelstD:o:cVuamlegnrtiantdi:o:nCommand::PerlScript(3)
2
3
4
6 Test::Valgrind::Command::PerlScript - A Test::Valgrind command that
7 invokes a perl script.
8
10 Version 1.19
11
13 This command is meant to abstract the argument list handling of a
14 "perl" script.
15
17 This class inherits Test::Valgrind::Command::Perl.
18
19 "new"
20 my $tvcps = Test::Valgrind::Command::PerlScript->new(
21 file => $file,
22 taint_mode => $taint_mode,
23 %extra_args,
24 );
25
26 The package constructor, which takes several options :
27
28 • $file is the path to the "perl" script you want to run.
29
30 This option is mandatory.
31
32 • $taint_mode is actually handled by the parent class
33 Test::Valgrind::Command::Perl, but it gets special handling in this
34 subclass : if "undef" is passed (which is the default), the
35 constructor will try to infer its right value from the shebang line
36 of the script.
37
38 Other arguments are passed straight to
39 "Test::Valgrind::Command::Perl->new".
40
41 "file"
42 my $file = $tvcps->file;
43
44 Read-only accessor for the "file" option.
45
47 Test::Valgrind, Test::Valgrind::Command::Perl.
48
50 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
51
52 You can contact me by mail or on "irc.perl.org" (vincent).
53
55 Please report any bugs or feature requests to "bug-test-valgrind at
56 rt.cpan.org", or through the web interface at
57 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will
58 be notified, and then you'll automatically be notified of progress on
59 your bug as I make changes.
60
62 You can find documentation for this module with the perldoc command.
63
64 perldoc Test::Valgrind::Command::PerlScript
65
67 Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
68 reserved.
69
70 This program is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.
72
73
74
75perl v5.34.0 2021-07T-e2s3t::Valgrind::Command::PerlScript(3)