On Wed, Sep 11, 2013 at 5:04 PM, Harry Putnam <rea...@newsguy.com> wrote:
<snip>

> while(<$cmdh>) {
>   print $fh;
>   print;
>
</snip>

I believe this code prints the file handle. Try this:
while(<$cmdh>){
  print $fh $_;
  print;

-- 
Robert Wohlfarth

Reply via email to