in reply to syntax check from within perl
eval "return; $code"; [download]
-- Randal L. Schwartz, Perl hacker