Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8275237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:00:32+00:00 2026-06-08T08:00:32+00:00

re: http://www.perlmonks.org/?node_id=786942 when: $manager->start and next; &dowork(); The parent returns true ( $pid ),

  • 0

re:
http://www.perlmonks.org/?node_id=786942

when:

$manager->start and next;

&dowork();

The parent returns true ($pid), and goes to the next iteration of the surrounding loop. The child returns 0, and does the work.

If I understand correctly, if we reach the number of maximum children, the $manager->start will return 0, and the parent will do the work? If so, what’s the best way to stop the parent from doing any work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:00:34+00:00Added an answer on June 8, 2026 at 8:00 am

    Parallel::ForkManager

    start will always start a child. It may have to wait for one of the child to end (when the maximum number of children are running), but it’s fully prepared to do that.

    It does not return zero except in he child. (It dies on error.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, the relevant xkcd comic: http://xkcd.com/979/ Next, the 10-year old thread on PerlMonks: http://www.perlmonks.org/?node_id=210422
I am converting a linux script from http://www.perlmonks.org/index.pl?node_id=217166 specifically this: #!/usr/bin/perl -w use strict;
I was on Perlmonks and found this great listing: http://www.perlmonks.org/?node_id=627015 But it was missing
i am using this site as a resource http://www.perlmonks.org/?node_id=573138 I am trying to understand
http://www.validome.org/xml/validate/?lang=en&viewSourceCode=1&url=http://45143.com/finance-feed/abc.xml&onlyWellFormed=1 check the url above for validator results. Line 171 in the XSD is
http://www.boost.org/doc/libs/1_35_0/doc/html/boost/get_id405862.html template<typename U, typename T1, typename T2, ..., typename TN> U & get(variant<T1, T2,
http://www.example.com?a=1&a=2 has a valid form-urlencoded querystring and has two values ( 1 and 2
http://www.elasticsearch.org/guide/reference/index-modules/analysis/standard-analyzer.html I have to use standard analyzer during indexing with custom stopwords . How
http://www.sqlite.org/threadsafe.html From above link I came to know, SQLite support three different threading modes
http://www.cplusplus.com/reference/clibrary/cstdlib/atoi/ Return Value On success, the function returns the converted integral number as an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.