for my $command (@commands) { $manager->start and next; ... system( $command ); $manager->finish; }