Thanks for the comment.  I didn't know that.  I'm really a newbie here at Perl, so I appreciate the feedback.  My error report here was just spitting out $output, and then parsing through it by hand to try to figure it out.  I'll look up what $@ does.