libSBML Perl API  libSBML 5.17.2 Perl API
createExampleSBML.cpp

Lengthy example of creating SBML models presented in the SBML specification.