in reply to C/C++ type assert() in Perl?

For assertions, use Carp::Assert. See also Retire your debugger, log smartly with Log::Log4perl! on Perl.com