move the validation of environment to the beginning
authorJesse Luehrs <doy@tozt.net>
Wed, 20 Oct 2010 20:59:09 +0000 (15:59 -0500)
committerJesse Luehrs <doy@tozt.net>
Wed, 20 Oct 2010 20:59:09 +0000 (15:59 -0500)
commit8e1b3d7b8d67f6c1bac94b4f59cfca2d097c3240
tree46a43387b36004c151947d65642088e2950fe925
parent3eb05ecbc5a5af77aa3397992bfbbf22c7a5a86e
move the validation of environment to the beginning

we can't reliably throw errors from inside _clean_eval_closure, since we
localize $@
lib/Eval/Closure.pm