libSBML Perl API  libSBML 5.19.0 Perl API
flattenModel.cpp

Model flattening example.