From: "Paul Marquess" <paul.marquess@ntlworld.com>
Message-ID: <
01f701c695e8$3d035e20$2405140a@myopwv.com>
p4raw-id: //depot/perl@28415
if ($outType eq 'filename' && -e $outValue && ! -w _)
{ return $obj->saveErrorString(undef, "Output file '$outValue' is not writable" ) }
- elsif ($outType eq 'handle' && ! -w $outValue)
- { return $obj->saveErrorString(undef, "Output filehandle is not writable" ) }
# TODO - encoding
" Got non-writable filename message" ;
}
else {
- is $$Error, "Output filehandle is not writable",
- " Got non-writable filehandle message" ;
+ ok $$Error, " Got error message" ;
}
}
}