Adding last of structural impl and tests for Perl