Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
XP is just a number
 
PerlMonks  

Re^2: Win32::OLE objects

by anselmomh (Initiate)
on May 06, 2005 at 15:37 UTC ( [id://454792]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Win32::OLE objects
in thread Win32::OLE objects

When all the code is in the same perl file it all works its only when i moved the logging code to a module that passing hte Win32::OLE object seems to get upset
perl file --> calls LogInit
pm file --> creates Win32::OLE object and passes back
perl file --> calls LogIT passing in the Win32::OLE object that it got back
pm file --> uses that object to pass it ARGS which logs things
so basically im not passing Win32::OLE object correctly i guess i just dont know how to fix it :(

Replies are listed 'Best First'.
Re^3: Win32::OLE objects
by jimbojones (Friar) on May 06, 2005 at 15:43 UTC
    Hi

    Right; is it possible that your 'use Win32::OLE' statement was/is different in your .pl file as opposed to the .pm file? Or had a use Win32::OLE::Const line?

    - j

      The Win32::OLE::Const line was never in the perl file and an older copy that works has the exact same lines for the creation of the object .. there must be something you have to do when passing a Win32::OLE object back and forth between a perl file and a module that im not aware of :(

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://454792]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.