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...
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...
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...
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.