+ my $tvcps = Test::Valgrind::Command::PerlScript->new(
+ file => $file,
+ taint_mode => $taint_mode,
+ %extra_args,
+ );
+
+The package constructor, which takes several options :
+
+=over 4
+
+=item *
C<$file> is the path to the C<perl> script you want to run.
C<$file> is the path to the C<perl> script you want to run.
-C<$taint_mode> is a boolean that specifies if the script should be run under taint mode.
-If C<undef> is passed (which is the default), the constructor will try to infer it from the shebang line of the script.
+This option is mandatory.
+
+=item *
+
+C<$taint_mode> is actually handled by the parent class L<Test::Valgrind::Command::Perl>, but it gets special handling in this subclass : if C<undef> is passed (which is the default), the constructor will try to infer its right value from the shebang line of the script.
+
+=back
Other arguments are passed straight to C<< Test::Valgrind::Command::Perl->new >>.
Other arguments are passed straight to C<< Test::Valgrind::Command::Perl->new >>.