Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: One piece of code, two mysteries!

by Anonymous Monk
on Oct 05, 2012 at 06:46 UTC ( #997396=note: print w/ replies, xml ) Need Help??


in reply to Re: One piece of code, two mysteries!
in thread One piece of code, two mysteries! (UPDATED.)

ok, second take, this returns something right

print "@input"; ### LINE A ### return my @foo = @input;

1 2 1 2 1 2 3 1 2 3 1 2 3 4 1 2 3 4

i say its a bug in threads::shared, its undefing when it shouldn't

threads: 1.86 threads::shared: 1.4 C:\perl\5.14.1\bin\MSWin32-x86-multi-thread\perl.exe


Comment on Re^2: One piece of code, two mysteries!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-09-23 03:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls