HP3000-L Archives

August 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Korb <[log in to unmask]>
Reply To:
John Korb <[log in to unmask]>
Date:
Wed, 28 Aug 2002 14:36:29 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Thanks Mark!

I particularly like the escaping of the double-quote.  That is a very handy
technique and one which I wouldn't have thought of.

Thanks again!

John

At 2002-08-28 02:30 PM, Mark wrote:
>How about:
>
>system("/SYS/PUB/DISCFREE E");
>
>Or way more verbosely:
>
>system("callci 'run discfree.pub.sys;info=\"E\"'");
>
>- Mark B.
>
>John Korb wrote:
>
>>I know very little about Perl, and I'm trying to use Perl to parse the
>>NAME=VALUE pairs from a POST form and then pass some environment variables
>>and the VALUE strings (in a specific order) to an MPE program through the
>>MPE program's INFO= parameter (not much data).  To do so I need to know how
>>to tell Perl to execute the MPE program with an INFO= string specified, and
>>I can't seem to find a reference that describes how to run a program from
>>Perl (but I can find many references on calling Perl from C).  I have the
>>Perl code for parsing the NAME=VALUE pairs and it works.
>>
>>Also, perhaps I'm going about this the wrong way.  If there is an easier
>>(non-Perl?) way of doing this, please let me know.
>
>--
>[log in to unmask]
>Remainder of .sig suppressed to conserve expensive California electrons...
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2