Perl based code generator for wrapping multiple languages