Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: running system commands, and getting return codes/status

by Anonymous Monk
on Nov 27, 2021 at 15:51 UTC ( #11139174=note: print w/replies, xml ) Need Help??


in reply to Re: running system commands, and getting return codes/status
in thread running system commands, and getting return codes/status

The program I am working on is 1500L long. This is part of a subroutine that gets called. If I can get this to work, I have another subroutine with the same prob -- it executes a different command. This actually looks like a useful subroutine. (does such a codeblock/subroutine resist on 'monks/CPAN?)

  • Comment on Re^2: running system commands, and getting return codes/status

Replies are listed 'Best First'.
Re^3: running system commands, and getting return codes/status
by AnomalousMonk (Bishop) on Nov 27, 2021 at 23:28 UTC
    The program I am working on is ... long.

    Please see Short, Self-Contained, Correct Example for a longer discussion of what a "short runnable example" might look like. It is noted therein that just putting together such an example may clarify the problem enough for you so that you don't need to ask anyone else. Building an SSCCE should probably be considered a part of standard debugging praxis.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-05-20 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?