Subject: | |
From: | |
Reply To: | |
Date: | Thu, 29 Aug 2002 10:01:47 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Wed, 28 Aug 2002 13:46:24 -0500 (Central Daylight Time), John Korb
<[log in to unmask]> wrote:
>Many thanks to all who replied! Greg Stigers had exactly what I needed,
>which since it wasn't posted to the list, I'll post here so that it will be
>in the archives.
>
>Many thanks Greg!
>
>John
>
>Greg wrote:
>I believe you want the system call, so, for instance:
> system("LISTFILE", "$data_file");
>or, in your case,
> system("RUN MYPROG.GROUP.ACCOUNT;INFO='", "$parm1", "'");
>or something to that effect.
Don't forget that you are going to have to "untaint" any variables
which you use in your system command. (And I hope you are NOT running
with taint checking turned off!) Sending input from a user or webform
directly to a command like "system" is a huge security hole.
www.perlmonks.org is an invaluable site for those doing Perl
development, btw. Check it out!
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|