🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #266

Re: Most efficient method to call a system routine and capture it's output

#266
From: Tad McClellan
Date: Fri, 19 Jul 2002 17:21
74 lines
3804 bytes
Michael Carman <mjcarman@mchsi.com> wrote:

> Perl provides three methods of executing external programs:
                ^^^^^
                ^^^^^ four

> * system()       - To execute a program and capture its exit status.
> * `` (backticks) - To execute a program and capture its output.
> * exec()         - To replace the current instance of perl with another


You forgot "pipe open".


>> Please do not reply directly to this posting, but use the
>> addresses below in my signature.  This is to thwart those
>> mean SPAMmers!
> 
> How does my /responding/ to your post here help spammers?


I've been wondering that too.


>> Please reply by e-mail, if at all possible, and I will
>> summarize to the net if interest warrants.
> 
> Did you not see Tad's post? 


But that one did not offer to summarize back to the group, so
it was "worse" than this one.

But the "if interest warrants" part still leaves me wondering
if emailed answers will make it back here or not...


> It's
> acceptable to ask for a Cc: of posts, 


Or with a _promise_ to summarize back to the group.

(without qualifications that will leave prospective answerers wondering)


> but asking for answers that only
> you see is rude. That's likely to be at least part of the reason that no
> one has responded.


Have you (the OP) seen the Posting Guidelines that are posted
here weekly? 

The guidelines are meant to help you avoid being ignored:

   Asking for emailed answers
        Emailed answers benefit one person. Posted answers benefit the
        entire community. If folks can take the time to answer your
        question, then you can take the time to go get the answer in the
        same place where you asked the question.

        It is OK to ask for a *copy* of the answer to be emailed, but many
        will ignore such requests anyway. If you munge your address, you
        should never expect (or ask) to get email in response to a Usenet
        post.

        Ask the question here, get the answer here (maybe).


-- 
    Tad McClellan                          SGML consulting
    tadmc@augustmail.com                   Perl programming
    Fort Worth, Texas
Technical Details
Message-ID: <slrnajgi16.3mf.tadmc@magna.augustmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!localhost.localdomain!nobody
References: <ausn2ib8ny.fsf@irit.irit.fr> <aud6tjbw4d.fsf@irit.irit.fr> <3D382F17.1000506@mchsi.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112333,d48ce9f80ca98172
X-Google-Attributes: gid112333,public
X-Google-Thread: fa0ae,4cb838d93b34e411
X-Google-Attributes: gidfa0ae,public
X-Google-ArrivalTime: 2002-07-19 10:21:40 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!localhost.localdomain!nobody
Newsgroups: comp.lang.perl.misc,fr.comp.lang.perl
From: tadmc@augustmail.com (Tad McClellan)
Subject: Re: Most efficient method to call a system routine and capture it's output
References: <ausn2ib8ny.fsf@irit.irit.fr> <aud6tjbw4d.fsf@irit.irit.fr> <3D382F17.1000506@mchsi.com>
Reply-To: tadmc@augustmail.com
Followup-To: comp.lang.perl.misc
Message-ID: <slrnajgi16.3mf.tadmc@magna.augustmail.com>
User-Agent: slrn/0.9.7.1 (Linux)
Lines: 74
NNTP-Posting-Date: Fri, 19 Jul 2002 12:21:23 CDT
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv3-eqBoY8mUBkTa2fgQP/epaQJuKP7pJXOieEn6JUgjTOm99PL/vKNw4wOKn3XvFBGtYnzVChSfzC98ulW!eZimfnZ9397B+L6fkxBlyvLWQKc7zsHO6kTQXzAbKv/QcI3QWpj56zo8GbXaL2Gi10JFnbRS1Rmm!xqid
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
Date: Fri, 19 Jul 2002 17:21:23 GMT