[grand-rapids-pm-announce] Previous Email

Matthew Heusser mheusser at charter.net
Thu Sep 29 08:22:49 PDT 2005


I should have done "call for SpeakeZ" in the subject; my bad.

--heusser
> 
> From: "David Szostek" <dave at uvhosting.com>
> Date: 2005/09/27 Tue PM 03:10:29 EDT
> To: <grand-rapids-pm-announce at pm.org>
> Subject: Re: [grand-rapids-pm-announce] driving a process [using pipes?]
> 
> Hi,
> 
> I am not familiar with ic...  and I'm not exactly sure if I am answereing
> your question entirely... You can execute it and get the output in a manner
> like this:
> 
> $variable= `ic argument1 argument2`;
> 
> It executes anything within the tick marks as if it was at the shell and
> returns the output into the scalar variable.
> 
> ~dave
> 
> -----Original Message-----
> From: grand-rapids-pm-announce-bounces at pm.org
> [mailto:grand-rapids-pm-announce-bounces at pm.org] On Behalf Of
> grand-rapids-pm-announce-request at pm.org
> Sent: Tuesday, September 27, 2005 3:00 PM
> To: grand-rapids-pm-announce at pm.org
> Subject: grand-rapids-pm-announce Digest, Vol 13, Issue 3
> 
> 
> Send grand-rapids-pm-announce mailing list submissions to
> 	grand-rapids-pm-announce at pm.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.pm.org/mailman/listinfo/grand-rapids-pm-announce
> or, via email, send a message with subject or body 'help' to
> 	grand-rapids-pm-announce-request at pm.org
> 
> You can reach the person managing the list at
> 	grand-rapids-pm-announce-owner at pm.org
> 
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of grand-rapids-pm-announce digest..."
> 
> 
> Today's Topics:
> 
>    1. Perl Mongers -- This Friday! (Food	Details) (Matt Hahnfeld)
>    2. driving a process [using pipes?] (Cameron Walker)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 27 Sep 2005 00:01:11 -0400
> From: Matt Hahnfeld <matt.hahnfeld at gmail.com>
> Subject: [grand-rapids-pm-announce] Perl Mongers -- This Friday! (Food
> 	Details)
> To: grand-rapids-pm-announce at pm.org
> Message-ID: <13c4da4105092621017ef09998 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi everyone!
> 
> Just a quick reminder that Bill Ott will be presenting "Perl That's Simple
> Enough for Beginners, but Cool Enough for Everyone" this Friday at the Grand
> Rapids Public Library Downtown. He'll present a number of real-life Perl
> hacks to do things like manipulating online polls, automatically entering
> online sweepstakes over and over again, and interacting with an air
> conditioner over a serial port in a building three miles away.  The  meeting
> will start at 11:30am, and there is a map available here:
> 
> http://www.grpl.org/yourlibrary/locations/grm.html
> 
> Please RSVP if you get a chance, so we know how many people to expect.
> 
> FOOD WILL NOT BE PROVIDED THIS MEETING!  Instead, if you want food, you
> should call ahead to order from the Library Cafe'.  They do have a few $5
> specials this week, so see the message attached below for details.  The
> Cafe' home page is here:
> 
> http://www.grpl.org/yourlibrary/cafe.html
> 
> As always, there is no charge for any Grand Rapids Perl Mongers meeting, and
> newcomers are always welcome.
> 
> Matt Hahnfeld
> President
> Grand Rapids Perl Mongers
> 
> ---------- Forwarded message ----------
> From: Bill Ott <bott at grpl.org>
> Date: Sep 26, 2005 2:21 PM
> Subject: Friday's meeting
> To: matt.hahnfeld at gmail.com
> 
> 
>  Matt,
>     I've warned the cafe to expect extra people through on Friday. 
> They really don't offer a deal for just small groups.  The $5 lunch specials
> this week give quite a variety.  The full menu is available
> here: http://www.grpl.org/yourlibrary/cafe.html
> 
>  You can call ahead to order at 988-5444.
> 
>  -Bill
> 
> 
>  This week's $5.00 lunch specials, any one of the following (add chips or
> fruit for $0.50):
> 
> 
> 
> cheeseburger
> 1/2 sandwich and cup of soup (turkey, ham or chicken salad sandwich) veggie
> chapatti BLT pesto pizza pita chicken salad sandwich
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 27 Sep 2005 08:41:44 -0500
> From: Cameron Walker <cameron.walker at fedex.com>
> Subject: [grand-rapids-pm-announce] driving a process [using pipes?]
> To: grand-rapids-pm-announce at pm.org
> Message-ID: <43394C18.8040606 at sac.fedex.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I have a process (specifically the sybase 'ic' process) that I want to 
> send commands to and then recieve the output back for further processing.
> 
> I'm aware of how to send commands via
>     open(wp,"| ic")
>     print wp "sp_who"
>     print wp "go"
> etc and so on. On the other side I know how to read data in from a 
> process via
>     open(rp,"date |")
>     $input = <rp>
> However, I cant figure out how to make these work together at the same 
> time. The 'ic' program apparently isnt smart enough for me to just feed 
> it the data on the command line so I _have_ to open an input pipe to the 
> thing in order to drive it. At this point my knowledge fails me. How do 
> I get the data back out?
> 
> I started to do a fork and quickly realized that that doesnt seem to 
> solve my problem. I've heard suggestions that I need to play with some 
> filehandles to deal with this but clearly Im to dense to comprehend what 
> I need to do.
> 
> If you have any ideas I would much appreciate a tip [ more like an 
> 'idiots guide' ].
> 
> Thanks.
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> grand-rapids-pm-announce mailing list grand-rapids-pm-announce at pm.org
> http://mail.pm.org/mailman/listinfo/grand-rapids-pm-announce
> 
> End of grand-rapids-pm-announce Digest, Vol 13, Issue 3
> *******************************************************
> 
> _______________________________________________
> grand-rapids-pm-announce mailing list
> grand-rapids-pm-announce at pm.org
> http://mail.pm.org/mailman/listinfo/grand-rapids-pm-announce
> 


More information about the grand-rapids-pm-announce mailing list