Embedded sanity checks for Perl