> Hello > after struggling for a little while on the issue of MacPerl not > supportting multiple invocations, as in the case of trying to run > multiple droplets, I was wondering if it would be possible to have > these processes mimicked in subroutine calls. For example . . . a text > file could contain parameters to provide control to the droplet. > > maybe its a stretch, but could this be a reasonable approach to multiple > processes? > > while ( $value <= $limit ) { > > if ($value = something) { > &start_process_one > } > > if ($value = another_thing) { > &start_process_two > } > } > > > > sub start_process_one { > do some stuff > } > > sub start_process_two { > do some stuff > } Yes, this is certainly possible, and in fact I have written a module to do it. It's called Mac::Multitask, and it allows you to do basically what your example code shows, but you can effectively run multiple programs at once. However, it is not yet ready to be released. -- Kevin Reid. | Macintosh. "I'm me." | Think different. ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch