Using Perl - is it possible to export S1000D DM knowing only the DMC and NO idpath?

I've been trying to figure out if there is a way for me to use the PerlAPI to export a DM.  Very basic.  Connect to database.  Export a DM.  I will not know the idpath so contentexport is no good.  I only have dmc.

It seems there is an "exportDM" available that does just this - in PCMcommand (so says documentation?) - but I am not seeing that in my PCMcommand.pm.

Has anyone done this?

emoji