Lines Matching refs:OPTS
156 =item B<indir "SUBDIR" =E<gt> sub BLOCK, OPTS>
162 C<indir> takes some additional options OPTS that affect the subdirectory:
199 my %opts = @_;
201 my $reverse = __cwd($subdir,%opts);
209 if ($opts{cleanup}) {
216 =item B<cmd ARRAYREF, OPTS>
243 =item B<app ARRAYREF, OPTS>
245 =item B<test ARRAYREF, OPTS>
262 =item B<perlapp ARRAYREF, OPTS>
264 =item B<perltest ARRAYREF, OPTS>
313 my %opts = @_;
318 my @prog = __wrap_cmd(shift @cmdargs, $opts{exe_shell} // ());
321 %opts);
327 my %opts = @_;
332 exe_shell => $ENV{EXE_SHELL}, %opts) -> (shift);
338 my %opts = @_;
343 exe_shell => $ENV{EXE_SHELL}, %opts) -> (shift);
349 my %opts = @_;
354 exe_shell => $ENV{EXE_SHELL}, %opts) -> (shift);
360 my %opts = @_;
362 my @interpreter_args = defined $opts{interpreter_args} ?
363 @{$opts{interpreter_args}} : ();
368 @prog, @cmdargs ], %opts) -> (shift);
374 my %opts = @_;
376 my @interpreter_args = defined $opts{interpreter_args} ?
377 @{$opts{interpreter_args}} : ();
382 @prog, @cmdargs ], %opts) -> (shift);
388 =item B<run CODEREF, OPTS>
432 my %opts = @_;
446 if $opts{statusvar} && ref($opts{statusvar}) ne "SCALAR";
466 if ($opts{capture} || defined($opts{prefix})) {
472 my $l = ($opts{prefix} // "") . $_;
473 if ($opts{capture}) {
487 if ($opts{statusvar}) {
488 ${$opts{statusvar}} = $r;
506 if ($opts{capture}) {
706 my $opts = shift;
707 my %opts = %{$opts};
712 foreach (keys %opts) {
714 $hooks{$_} = $opts{$_};
726 =item B<cmdstr CODEREF, OPTS>
731 C<cmdstr> takes some additional options OPTS that affect the string returned:
755 my %opts = @_;
757 if ($opts{display}) {
1002 # __cwd DIR, OPTS
1005 # entries in %directories accordingly. OPTS is an optional series of
1013 my %opts = @_;
1034 if ($opts{create}) {
1067 if ($opts{cleanup}) {
1169 my %opts = @_;
1178 $stdin = " < ".$fileornull->($opts{stdin}) if exists($opts{stdin});
1179 $stdout= " > ".$fileornull->($opts{stdout}) if exists($opts{stdout});
1180 $stderr=" 2> ".$fileornull->($opts{stderr}) if exists($opts{stderr});