Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: MCE seemingly stray array in sample code for Strassen's algorithm

by cormanaz (Chaplain)
on Apr 14, 2013 at 12:09 UTC ( #1028620=note: print w/ replies, xml ) Need Help??


in reply to Re: MCE seemingly stray array in sample code for Strassen's algorithm
in thread MCE seemingly stray array in sample code for Strassen's algorithm

Well blow me down. I have thought all these years that a variable declared "my" in the main block was only accessible in the main block and not in its subs, and that to make it accessible you had to declare it "our." I guess not!


Comment on Re^2: MCE seemingly stray array in sample code for Strassen's algorithm
Re^3: MCE seemingly stray array in sample code for Strassen's algorithm
by marioroy (Sexton) on Dec 13, 2014 at 02:51 UTC
    Hi all,

    The @p array in question, by the OP, is updated by the MCE manager process only and not by the workers themselves. The $self->do(...) method sends data to the manager process.

    http://api.metacpan.org/source/MARIOROY/MCE-1.521/images/08_Natural_Callback.gif

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1028620]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-12-27 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls