Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 rifling through the Monastery: (8)
As of 2016-02-08 23:32 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (291 votes), past polls