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

Replies are listed 'Best First'.
Re^3: MCE seemingly stray array in sample code for Strassen's algorithm
by marioroy (Prior) 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.