Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^2: Can't time out a $sth-fetchrow()

by Skeeve (Vicar)
on May 27, 2011 at 08:24 UTC ( #906953=note: print w/ replies, xml ) Need Help??

in reply to Re: Can't time out a $sth-fetchrow()
in thread Can't time out a $sth-fetchrow()

Why do you think, my die string will not be $timeoutstr? I'm just curious because now, where I use what you also suggested, Sys::SigAction, it works. The "eq" also works.


Comment on Re^2: Can't time out a $sth-fetchrow()
Select or Download Code
Replies are listed 'Best First'.
Re^3: Can't time out a $sth-fetchrow()
by mje (Curate) on May 27, 2011 at 09:44 UTC

    Because it contains something like "timeout at line 16." because Perl added the line number.

      Understood. Thanks! That's why my $timeoutstr contains a trailing "\n". So no "at line..." is added


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2015-11-25 08:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls