DiscoveryScript::Document through Input and Pass ports ?

Hi,

I'm trying to use DiscoveryScripts API in Perl components. I found how to load a Mdm or Sdm object with  DiscoveryScript::Open , and how to save files.

But is it possible de load object coming from the input port of the component, and to send DiscoveryScript::Documents through the PASSPORT ?

Regards,

Michael