Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: tie(...) bug or select(...) bug (neither)?

by Anonymous Monk
on Oct 04, 2013 at 18:32 UTC ( #1056914=note: print w/ replies, xml ) Need Help??


in reply to tie(...) bug or select(...) bug?

neither, read select, int $SLEEP_TIME is zero, which means block


Comment on Re: tie(...) bug or select(...) bug (neither)?
Re^2: tie(...) bug or select(...) bug (not neither)?
by CardinalNumber (Prior) on Oct 04, 2013 at 18:40 UTC

    Yeah... not true and not the issue here. I could put tie(my $SLEEP_TIME, 'Tie::StdScalar', 5); and my first example would still block indefinitely. select(...) isn't correctly working with tie()'s magic to get the right value of $SLEEP_TIME and instead figures it's undef which is supposed to block. That's the bug I think I'm seeing.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-12-25 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (160 votes), past polls