Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Test::Script debug execution via scripts_run

by dpopchev (Novice)
on Apr 22, 2021 at 04:51 UTC ( #11131570=note: print w/replies, xml ) Need Help??


in reply to Test::Script debug execution via scripts_run

Thanks for the ideas!

I slept on the problem and on second, closer look in the documentation https://metacpan.org/pod/Test::Script#script_runs

interpreter_options -- Array reference of Perl options to be passed to + the interpreter. Things like -w or -x can be passed this way. This m +ay be either a single string or an array reference.
So I just extended the script run line
script_runs [ @{$scriptNargs} ], { exit => 0, interpreter_options +=> '-d' }, $test_run_name;
tldr; Thanks for the ideas, fortunately the author already has covered this use case.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131570]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2022-08-14 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?