September 2014 Archives

how to add switches to a perl program like plackup or dzil


perl -d:Confess $( which dzil )  release

If you are using development tools like or, and are trying to figure out how to use them with applications with a shebang like dzil, plackup, etc, the 'which' command is your friend. Invoking those scripts with perl should be effectively the same thing, and you can pass whatever switches you want to pass to perl.

See the comments for other ways to achieve the same thing.

About Samuel Kaufman

user-pic CTO / Codemonkey,