Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

UPDATE

by fmogavero (Monk)
on Sep 10, 2001 at 23:39 UTC ( #111546=note: print w/ replies, xml ) Need Help??


in reply to Testing for open filehandles

Thanks to all respondents!

It has been a rough Monday. I am dissecting a script written (what seems like) many eons ago.

I figured out how to test for Open database handles.
1.) using DBI::ODBC  if ($dbh->{state} == 1){it's open}
2.) using WIN32::ODBC  if ($db->Connection > 0){it's open}

The filehandles were eluding me at that point.

fmogavero


Comment on UPDATE
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2015-07-01 21:33 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 (22 votes), past polls