|Think about Loose Coupling|
Problems with Quantum::Entanglementby pernod (Chaplain)
|on Jun 20, 2003 at 16:02 UTC||Need Help??|
pernod has asked for the
wisdom of the Perl Monks concerning the following question:
Esteemed monks,After reading about the Quantum::Entanglement module, I thought I should give it a try. It might just do exactly what I need for some noisemaking, but my first attempt at using it for anything ended in dismal failure.
I used ppm to install the module on my ActiveState installation on a Win XP box. I tried to make a simple example, taken from the above mentioned article. Here's what I got:
My first run of this gave me: 1, 1, 1, 1, 1, which surprised me. I tried again, and got 3, 3, 3, 3, 3
I had expected $die to collapse to different values each time I observed it, but it seems to me that it is only collapsed once during each run. What am I missing here?pernod
Mischief. Mayhem. Soap.