Perl framework for common sense scripting