Huh? Did you read the post I was replying to (update: hmm, you wrote it, so I guess you did)? You seemed to be complaining about the difficuly of executing a pipeline of code while still using a system(@list) type syntax (or maybe I am misinterpreting). I didn't see where it said myprog either needed an executable to run it or was itself an executable. The pipeline started off with myprog, I just want to make sure I execute myprog, and when you exec($command) with only the one argument, you can use the exec {$command} $command syntax (or exec {$args[0]} @args)...which is a somewhat more secure way to exec. I'm not saying the entire program is absolutely secure because of this. (Yes, I agree it's more secure if you supply the entire path to myprog).

In reply to Re^8: RFC: Perl-Critic policy: ProhibitInlineSystemArgs by runrig
in thread RFC: Perl-Critic policy: ProhibitInlineSystemArgs by davidrw

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.