Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Test::Script debug execution via scripts_run

by dpopchev (Novice)
on Apr 22, 2021 at 04:51 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-19 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found