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

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.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e


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 x.pl 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


      s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
      +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2015-07-29 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls