Paul Lalli <> wrote:
> E Arredondo wrote:
>> Hello, Please help me, I want to run a ksh script after a perl script on the
>> same cgi file, basically the perl is taking care of the uploading zip files
>> with photos from a website and then the korn shell uncompresses the received
>> files and moves them to their specific location and creates thumbnails, is
>> that possible ? Or maybe moving the ksh part of the script to a new file and
>> then making Perl execute it once it finishes with the first part . (i.e.
>> Perl execute "/script/processupload")
>
> Put the shell program in a separate file, and then have the Perl
> program execute that shell program, via the system() function.
Even better, since there is no more Perl needed after the ksh,
use the exec() function instead and save a whole process.
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas