$ perl -le'qx{date abc}; print $?' date: invalid date `abc' 256