# New Ticket Created by Paul Cochrane # Please include the string: [perl #43413] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43413 >
Hi, In perlcritic.t i'd like to find a way to pass options to perlcritic policies from the command line. Options are passed as anonymous hashes. Basically, we want to be able to do something like: perl t/codingstd/perlcritic.t --list --policy=CodeLayout::ProhibitHardTabs=>{'allow_leading_tabs'=>0} and it to give the output: CodeLayout::ProhibitHardTabs => \{ 'allow_leading_tabs' => 0 } Such that the option of *not* allowing leading tabs is passed on to perlcritic. Regards, Paul