On Friday 25 June 2004 04:30 am, u235sentinel wrote:
> Beau E. Cox wrote:
> >On Thursday 24 June 2004 08:32 pm, Charlene Gentle wrote:
> >
> >
> >You can use the 'system' command:
> >
> >##--master--
> >...
> >my $rc = system "perl slave.pl";
> >...
>
> Does this mean it runs in parallel with the parent Perl Program?
> Reading through "Learning Perl 3rd Edition" and I thought I caught a
> reference to something like this.
>
> Just curious.

Well, yes, that is both the system and backtics command
call and execute the slave script while pausing the master
script until the salve script is done.

If you want true 'parallel' processing, you must add
something like 'fork' to the above mix.

Aloha => Beau;


-- 
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