http://qs321.pair.com?node_id=337747

mikeysmailbox has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have the below code. The array @ABC is basicly 50 lines of log information. I need to pass this into a open statement and have all 50 lines pass into the ticket program. When the code is executed as shown below, all that is outputted is "49". How do I get the real log information.
open(RUN, "/usr/local/bin/ticket @ABC|"); while($line = <RUN>) { print "$line"; } close(RUN);
Thanks, Mike