http://www.perlmonks.org?node_id=928927


in reply to Question about Parallel::ForkManager

There are 1+@urls copies of @ar. You want to change @ar in the parent, which isn't something the children can do directly. The easiest wat is to use the mechanism described in the "RETRIEVING DATASTRUCTURES from child processes" section of the documentation.