Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: executing perl command from a perl file

by The Perlman (Scribe)
on May 24, 2021 at 17:37 UTC ( [id://11132978]=note: print w/replies, xml ) Need Help??


in reply to executing perl command from a perl file

See qx, exec doesn't return.
- Ron
  • Comment on Re: executing perl command from a perl file

Replies are listed 'Best First'.
Re^2: executing perl command from a perl file
by haukex (Archbishop) on May 24, 2021 at 17:59 UTC
    See qx, exec doesn't return.

    Sorry, but I don't think this is good advice. Even if it were necessary to run an external perl, which it practically never is except maybe in a test suite, qx has quite a few caveats.

      True, but I doubt the OP will read a longer answer. ;)
      - Ron
      PS: but thanks for the interesting link :)
        The answers are here to stay. Anyone else can google a similar question and find your answer valuable. You're never answering just the OP.

        With that in mind, many long winded threads wouldn't have been started.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
        True, but I doubt the OP will read a longer answer.

        If that's the case, I'd still prefer that what gets cargo-culted at least contains some best practices ;-P

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found