I am getting this error when I run my perl script:
Can't use an undefined value as filehandle reference at scr line 44.
Line 44:
open my $fh, "|-", "mail", "-s", $subject, $owner, "-c", $sendto
or die "$0: could not start mail: $!";
Everything looks okay. What does the error mean?