OD 6.0.2.0.0
TS 6.1
Solaris 2.9
We have an OpenDeploy profile calling a DNR to deploy metadata assets to a database. The problem we are having is that periodically OpenDeploy will not pass anything via STDIN to the DNR. This causes the DNR to wait indefinitely. The code we use to read STDIN is:
my $odXmlStream;
eval {
local $/;
undef $/;
$odXmlStream = <STDIN>;
};
if ($
@) {
... process error
}
How do we read STDIN only if there is something to be read? Or read STDIN and if we do not receive anything after, say 30 seconds, then timeout and report an error?
Thanks
BC