Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 about the Monastery: (10)
As of 2014-12-22 18:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (126 votes), past polls