in reply to perl threads and perl versions

What do you get if you do perl -Mthreads -le'print $threads::VERSION' ?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: perl threads and perl versions
by markseger (Beadle) on Feb 14, 2011 at 16:28 UTC
    aha! the system with the problem is running threads 1.07 and the one that works is 1.81! So should I just assume the problem IS with the threads version? Of course the challenge is which version fixed the problem. any clues on that one? -mark
      Of course the challenge is which version fixed the problem. any clues on that one?

      The "problem" is that you are trying to use functions that were not a part of the module at that time.

      Any version after 1.59 will not give the error you posted. But I strongly advise going for the latest version available when you upgrade.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        excellent, and I do agree with your comments about going with the latest. only problem is I can't control what people run on their boxes when they run my code nor can I easily dictate. -mark