For strictly triangular matrix on Perl: use strict, unit tests.