in reply to
redirecting output from a system command to a text file
OK, I got it. I had a newline at the end of my $a. I used chomp to get rid of it. Works great now. Thanks for all the feedback.
Comment on
Re: redirecting output from a system command to a text file
In Section
Seekers of Perl Wisdom