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...
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.