11 } qr/'source'.*required/, "error when source isn't declared";
17 } qr/'source'.*string or array/, "error when source isn't string or array";
23 } qr/'source'.*return.*sub/, "error when source doesn't return a sub";
28 environment => { 'foo' => \1 },
30 } qr/should start with \@, \%, or \$/, "error from malformed env";
35 environment => { '$foo' => 1 },
37 } qr/must be.*reference/, "error from non-ref value";
43 } qr/Modification of a read-only value/, "gives us compile errors properly";