From: owner-angry-psychos-digest@smoe.org (angry-psychos-digest) To: angry-psychos-digest@smoe.org Subject: angry-psychos-digest V8 #181 Reply-To: angry-psychos@smoe.org Sender: owner-angry-psychos-digest@smoe.org Errors-To: owner-angry-psychos-digest@smoe.org Precedence: bulk X-To-Unsubscribe: Send mail to "angry-psychos-digest-request@smoe.org" X-To-Unsubscribe: with "unsubscribe" as the body. angry-psychos-digest Thursday, August 21 2003 Volume 08 : Number 181 Today's Subjects: ----------------- NPR -- A PERL Programming Question [Cyberfan Corporation ] ---------------------------------------------------------------------- Date: Wed, 20 Aug 2003 11:16:08 -0700 (MST) From: Cyberfan Corporation Subject: NPR -- A PERL Programming Question Hello... Any PERL Pros out there that could help me out??? PLEASE ! ! ! Here is the situation... I have a subroutine in a .pl file that goes out and tests a credit card... I am choosing to use the "system" command to do this subroutine in my .pl file. Unfortunately (for me) is that the "system" process is returning the PID of the process and not the actual value of the "system" call. If I run the .pl file from my BASH prompt it tells me the correct answer. If I run in from the web it returns the PID of the system subroutine. Can anybody tell me how to capture the actual string returned from the system process in ths .pl file and not the PID of the process? Here is my .pl file... *********************************************************************** #!/usr/bin/perl ########## ## Format that web browsers will like print "Content-type: text/html\n\n"; @_ = "/usr/local/bin/curl -d \"M_id=995057\&M_key=W4H3D9\&C_name=John+Doe\&C_address=1234+AnyStreet\&C_city=San+Antonio\&C_state=TX\&C_zip=78232\&C_email=jarrod\@cyberfan.com\&C_cardnumber=4111111111111111\&C_exp=0509\&T_amt=1.00\&T_code=01\" \"https://myprocessorwebsite.dll?transaction\""; print system(@_); 1; *********************************************************************** Again... It works perfectly from the BASH prompt. It gives me the string that gets returned from the transaction on the command line. If I call on this .pl from the web environment it is returning the PID of the "system" process and not the string that comes from the transaction server. Any help would be most appreciated. Thank You ! ! ! Jarrod ------------------------------ Date: Wed, 20 Aug 2003 13:29:42 -0700 (MST) From: Cyberfan Corporation Subject: POE / Conjure One Streaming Audio I was streaming www.radioparadise.com and heard Conjuer One - Center of the Sun with POE signing. Wednesday Aug 20. 1.30p PST Cool... JK/// ------------------------------ Date: Wed, 20 Aug 2003 16:29:55 -0400 From: "Pierce, Marshall" Subject: TNPR: Dragon Any AP's doing the Dragon Con thing in Atlanta? If so a group of you going to get together? Marshall Pierce ITCS IFAS IT University of Florida (352) 846-1832 "The ability to hear the truth, is not as important as accepting it." MRPierce@mail.ifas.ufl.edu http://www.pierceworks.com ------------------------------ End of angry-psychos-digest V8 #181 ***********************************