Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Win32::OLE Word Search and Replace Script Runs Locally but not as part of CGI

by bart (Canon)
on Feb 13, 2003 at 20:57 UTC ( [id://235109]=note: print w/replies, xml ) Need Help??


in reply to Win32::OLE Word Search and Replace Script Runs Locally but not as part of CGI

Here is the Error I get:

Can't call method "Content" on an undefined value at c:\scripts\sr.pl line 19.

Let's see where it could come from:
my $doc = $word->Documents->Open("$oldfile"); my $search = $doc->Content->Find;
Apparently, $doc is not defined. The Open must have failed. You don't check.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-03-29 06:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found