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 Mike Lewis 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: *

  • Users: BMO
  • Order by date
  1. BMO

    Perl output redirection

    Thanks very much, you're a star! The output now prints in the order I expected.
  2. BMO

    Perl output redirection

    Hi, I've redirected the output from my Perl script to a log file using code similar to this: print "STDOUT 1"; warn "STDERR 1"; print "STDOUT 2"; warn "STDERR 2"; # redirect standard output open my $oldout, ">&STDOUT" or die "Can't duplicate STDOUT: $!"; open my $olderr...
  3. BMO

    Executing stored procedures from Perl via ODBC

    Can anyone help me with the Perl syntax for executing stored procedures on an ORACLE database? The procedure is in a database package and needs to be passed a in parameter and also an out parameter. I've looked at some sites on the web but am confused! I can connect to the database via ODBC...
  4. BMO

    Timeouts with the System call?

    Thanks very much for taking the time to help. It seems that RCOM does not release the serial port after its process has been killed off. This causes me a problem as when control goes back to the parent process, Perl complains that it cannot access the serial port to go to the next Psion hand...
  5. BMO

    Timeouts with the System call?

    Thanks raider2001. As I'm new to Perl, does this mean writing another Perl script with the main one calling another one that contains the "system" command? Do you know of any sites which contain examples of this procedure? I can't seem to find one which offers examples of how to do...
  6. BMO

    Timeouts with the System call?

    Is there a timeout option with the "system" call so that if the required system call doesn't happen within a specifed time, the perl script continues executing at the line after the "system" call? The problem I'm having is that I'm executing an RCOM command with Perl's...
  7. BMO

    Checking win32::serialport

    If a device is connected to the serial port and it becomes disconnected, does this close the port (after it has been successfully opened)? If it does, is it possible to detect that the port is trying to communicate to a non existant device? TIA

Part and Inventory Search

Back
Top