On 3/15/06, Sonika Sachdeva <[EMAIL PROTECTED]> wrote:

> $retval = system("perl sample.pl $filename");
> I would need a while loop to poll the "$?" for the complete execution of the
> system command.

No; system() waits for the command to complete before it continues.
You could use fork-and-wait, but system() seems to do what you want.

> How to get the output .zip file for processing

If the output is being saved to a file, you can open that file with a
module that can read zip archives. Is that the problem you have?

    http://search.cpan.org/
    http://search.cpan.org/~smpeters/Archive-Zip-1.16/lib/Archive/Zip.pod

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to