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

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 contemplating the Monastery: (11)
As of 2016-06-25 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (326 votes). Check out past polls.