Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cartw19

    DBI->connect Failure Diagnostics

    Jim, definitely $DBI::errstr. If I force another error - like wrong port number, I do get an error message, but with my original code, nothing. Colin
  2. cartw19

    DBI->connect Failure Diagnostics

    Jim, The &DBI::errstr still produced nothing. Your one liner did show Oracle in the list of Drivers. Thanks for the effort. p.s. I solved the original problem by removing 2 $ENV statements, (1 for ORACLE_HOME on the server, and 1 for TNS_ADMIN pointing to the tnsname.ora file on the PC). these...
  3. cartw19

    DBI->connect Failure Diagnostics

    How do I find out why a DBI->connect fials. Using DBI to connect to an Oracle datbase, the connect fails but no diagnostics in the die clause produce anything. e.g. $dbh = DBI->connect("dbi:Oracle: ...) or die "Failed: $! $dbh->errstr $ora_errstr \n"; produces only the Failed...
  4. cartw19

    Obtaining a Disk Volume Label in Win32

    How do I obtain a disk volume label in a Perl program running under Windows 32. e.g. I have a CD Rom in my drive d:, how do I find the volume label of the CD Rom? Any sugestions welcome, Colin
  5. cartw19

    Asynchronous Processing of Perl/Tk Entry Box - How Do I

    Bob, Tkwait doesn't work either. Having done some research I found waitVariable - an inbuilt Tk method, and this works fine. e.g. After calling the sub-routine which dives off into Tk, code $mw->waitVariable(\$wait_flag); and in the Tk routines, after all the Tk stuff is finished...
  6. cartw19

    Asynchronous Processing of Perl/Tk Entry Box - How Do I

    Bob, Thanks for the 'vwait' suggestion, but I am working with Tk not TCL. I can't get vwait to work in Tk, I get messages like ' Can't locate object method "set" via package "masticman::flag"' Colin
  7. cartw19

    Asynchronous Processing of Perl/Tk Entry Box - How Do I

    My objective: To read through a file & check for anomalies, if anomaly found, query user if a change is required; if yes, get the change and update the file record. Process used: 1. Read the file into an array 2. Check the records in the array 3. If anomaly found in record 4. Query user with Tk...
  8. cartw19

    Selection of Single Instance from Multiple Keys - How Do I

    I have a table with multiple occurences of key values, how do I retrieve the first row only on a Select statement.

Part and Inventory Search

Back
Top