T
T
Greetings,
I have been ask to support some old perl code that's been around and
running for sometime. We upgrade our Linux Redhat OS from 3 to 5.5 and
have bumped into a problem with the following if statement:
# parse stdout to xml when:
#
# using xml mode 2 or xml mode 1 and command succeeds
# we have xml obj
# output contains xml formatted data
#
if (($mode == 2 || ($mode == 1 && !$res)) && ref $xml && grep{ m/
[<>]/ }@out)
I was hoping to make a small testcase but have not been able to
reproduce the problem. What happens is perl just loops on this if
statement forever. Just wondering if anything looks obvious to someone
with great Perl skills than myself. This is three layers down in Perl
modules. We have tried 5.8.8, 5.8.0 and version 5.12 of Perl with the
same result. I believe it's an OS issue, but just can't imagine what?
Thanks for any help in advance.
Tom
I have been ask to support some old perl code that's been around and
running for sometime. We upgrade our Linux Redhat OS from 3 to 5.5 and
have bumped into a problem with the following if statement:
# parse stdout to xml when:
#
# using xml mode 2 or xml mode 1 and command succeeds
# we have xml obj
# output contains xml formatted data
#
if (($mode == 2 || ($mode == 1 && !$res)) && ref $xml && grep{ m/
[<>]/ }@out)
I was hoping to make a small testcase but have not been able to
reproduce the problem. What happens is perl just loops on this if
statement forever. Just wondering if anything looks obvious to someone
with great Perl skills than myself. This is three layers down in Perl
modules. We have tried 5.8.8, 5.8.0 and version 5.12 of Perl with the
same result. I believe it's an OS issue, but just can't imagine what?
Thanks for any help in advance.
Tom