Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

ODMA document access via Perl

by gregmatthews (Initiate)
on Jan 07, 2003 at 13:27 UTC ( [id://224961]=perlquestion: print w/replies, xml ) Need Help??

gregmatthews has asked for the wisdom of the Perl Monks concerning the following question:

I'm totally stumped (a Perl learner) on where to start on this one.

I want to create a link from a webpage to a CGI script that retrieves a document from a document management system.

Word uses wordbasic.fileopen"::ODMA\DOCS\DOCMAN\1234\1" to retrieve the document.

Is there a Perl module for ODMA?
open(FILE, "::ODMA\DOCS\DOCMAN\1234\1") doesn't work.

Where should I start, or should I abandon hope now?

G.

Replies are listed 'Best First'.
Re: ODMA document access via Perl
by dakkar (Hermit) on Jan 07, 2003 at 14:53 UTC

    What is ODMA?

    Apart from that, "opening a file" in Windows is really an abstract act: it can open an actual, local file, or a remote file via various protocols, or a dynamically-generated resource of some sort.

    I think that you have installed some driver that tells Windows how to handle file requests in the form ::ODMA\.

    Perl's open can only access local files. You can try using Win32API::File's functions createFile and OsFHandleOpen to open a Perl filehandle to a generic resource (NOTE: I don't use Win32, so I can't guarantee that this will work)

    -- 
            dakkar - Mobilis in mobile
    
Re: ODMA document access via Perl
by iguanodon (Priest) on Jan 08, 2003 at 04:03 UTC
    I'd start with Google first.

    Word uses wordbasic.fileopen"::ODMA\DOCS\DOCMAN\1234\1" to retrieve the document.

    Maybe you can make Word do the work, using Win32::OLE?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://224961]
Approved by vagnerr
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-24 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found