Thanks for the bug report, I will look into it.
jonasbn
On Fri, Dec 20, 2013 at 7:04 PM, johantheolive@gmail.com via RT <
bug-Perl-Critic-logicLAB@rt.cpan.org> wrote:
Show quoted text> Fri Dec 20 13:04:06 2013: Request 91542 was acted upon.
> Transaction: Ticket created by johantheolive@gmail.com
> Queue: Perl-Critic-logicLAB
> Subject: System function in module
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: johantheolive@gmail.com
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=91542 >
>
>
> I have the following code:
>
> $startSSH -> system( {async => 1} , "$setRemoteProfile $patCmd 1>
> /dev/null" );
>
> where $startSSH is a Net::OpenSSH
> object. Perl::Critic::Policy::logicLAB::ProhibitShellDispatch erroneously
> identifies this as a system/exec statement.
>
>