Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Executing perl program from another perl program and capturing the output

by rgren925 (Beadle)
on Nov 29, 2014 at 23:12 UTC ( [id://1108755]=note: print w/replies, xml ) Need Help??


in reply to Re: Executing perl program from another perl program and capturing the output
in thread Executing perl program from another perl program and capturing the output

This was exactly what I needed. I had tried just about every combination of quotes and escaped quotes BUT this, naturally. I had tried Win32:GetShortPathName and it worked but, as this is a cross-platform tool, I prefer to avoid platform-specific code paths where possible. Thanks very much!
  • Comment on Re^2: Executing perl program from another perl program and capturing the output

Replies are listed 'Best First'.
Re^3: Executing perl program from another perl program and capturing the output
by BrowserUk (Patriarch) on Nov 29, 2014 at 23:48 UTC
    I had tried Win32:GetShortPathName and it worked but, as this is a cross-platform tool, I prefer to avoid platform-specific code paths where possible.

    Indeed. I don't have to write cross-platform very often, and I have no problem using well-written modules when required.

    But unlike many others (it seems), my criteria for "when required" extends well beyond 'it exists'. If I don't need it, I don't use it(*).

    I like simple! (Which my wife would probably say, is just as well ... :)

    There are very good reasons for keeping ones dependencies to a minimum.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2024-04-23 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found