in reply to neglect warnings in open 3 HANDLE_OUT
You don't show the part of the code that does the printing, so it's difficult to say how you should modify it in order to avoid your unwanted output. If you can clearly delineate what makes a line a "BEA warning" or not, then you could skip them perhaps w/ Loop Control:
while(<HANDLE_OUT>) { next if /<BEA-\d+>/; $nextLine= $_;
This of course assumes that the warnings in question are being emitted on STDOUT and not STDERR.
If this solution is not what you are looking for, provide us with the entire STDOUT stream from your system call and the desired output from your program, as well as the entire block of read-and-output code that is presently not working for you.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: neglect warnings in open 3 HANDLE_OUT
by sandeepda (Novice) on May 14, 2013 at 14:03 UTC | |
by kennethk (Abbot) on May 14, 2013 at 14:11 UTC | |
by sandeepda (Novice) on May 14, 2013 at 14:15 UTC | |
by kennethk (Abbot) on May 14, 2013 at 14:23 UTC | |
by roboticus (Chancellor) on May 14, 2013 at 16:09 UTC |
In Section
Seekers of Perl Wisdom