1Test::Valgrind::CommandU:s:ePrerClo(n3t)ributed Perl DocTuemsetn:t:aVtailognrind::Command::Perl(3)
2
3
4

NAME

6       Test::Valgrind::Command::Perl - A Test::Valgrind command that invokes
7       perl.
8

VERSION

10       Version 1.19
11

DESCRIPTION

13       This command is the base for all "perl"-based commands.  It handles the
14       suppression generation and sets the main command-line flags.
15

METHODS

17       This class inherits Test::Valgrind::Command.
18
19   "new"
20           my $tvcp = Test::Valgrind::Command::Perl->new(
21            perl       => $^X,
22            inc        => \@INC,
23            taint_mode => $taint_mode,
24            %extra_args,
25           );
26
27       The package constructor, which takes several options :
28
29       •   The "perl" option specifies which "perl" executable will run the
30           arugment list given in "args".
31
32           Defaults to $^X.
33
34       •   "inc" is a reference to an array of paths that will be passed as
35           "-I" to the invoked command.
36
37           Defaults to @INC.
38
39       •   $taint_mode is a boolean that specifies if the script should be run
40           under taint mode.
41
42           Defaults to false.
43
44       Other arguments are passed straight to "Test::Valgrind::Command->new".
45
46   "perl"
47           my $perl = $tvcp->perl;
48
49       Read-only accessor for the "perl" option.
50
51   "inc"
52           my @inc = $tvcp->inc;
53
54       Read-only accessor for the "inc" option.
55
56   "taint_mode"
57           my $taint_mode = $tvcp->taint_mode;
58
59       Read-only accessor for the "taint_mode" option.
60
61   "env"
62           my $env = $tvcp->env($session);
63
64       Returns an Env::Sanctify object that sets the environment variables
65       "PERL_DESTRUCT_LEVEL" to 3 and "PERL_DL_NONLAZY" to 1 during the run.
66

SEE ALSO

68       Test::Valgrind, Test::Valgrind::Command.
69
70       Env::Sanctify.
71

AUTHOR

73       Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
74
75       You can contact me by mail or on "irc.perl.org" (vincent).
76

BUGS

78       Please report any bugs or feature requests to "bug-test-valgrind at
79       rt.cpan.org", or through the web interface at
80       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>.  I will
81       be notified, and then you'll automatically be notified of progress on
82       your bug as I make changes.
83

SUPPORT

85       You can find documentation for this module with the perldoc command.
86
87           perldoc Test::Valgrind::Command::Perl
88
90       Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
91       reserved.
92
93       This program is free software; you can redistribute it and/or modify it
94       under the same terms as Perl itself.
95
96
97
98perl v5.34.0                      2021-07-23  Test::Valgrind::Command::Perl(3)
Impressum