I'm ok, you're ok

There's a library to do this for you, Test::Simple

#!/usr/bin/perl -w
use Test::Simple tests => 1;
ok( 1 + 1 == 2 );

"ok" is the backbone of Perl testing.

Every conceivable test can be performed just using ok().

| toc |