Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: RE (tilly) 1: Win32::OLE

by tilly (Archbishop)
on Mar 01, 2004 at 23:24 UTC ( [id://333099]=note: print w/replies, xml ) Need Help??


in reply to Re: RE (tilly) 1: Win32::OLE
in thread Win32::OLE

It means that somehow "emptyenum" got defined twice. You can search the code for that string and see if you can figure it out.

I suspect that there is either something unusual about your usage, or you have a messed up installation. But I don't know as I no longer use Windows.

If you can't figure it out on your own, you could post to Seekers of Perl Wisdom and see if anyone else has seen this error. (Replies in buried threads are unlikely to be seen and responded to...)

Replies are listed 'Best First'.
Re^3: RE (tilly) 1: Win32::OLE
by hopkinsj (Novice) on Dec 15, 2004 at 04:11 UTC
    Get rid of the perl interpreter on line1. I had the same problem. After that, my windows2000 system worked fine with the script.
      Have you just killed the messenger? That is, perhaps deleting #! perl -w just turns off warning messages? At least that's what I find on MY w2k system. (And I'm still in the dark about Constant subroutine emptyenum redefined at C:/Perl/site/lib/Win32/OLE/Const.pm line -1, <DATA> line 183 )
        He has indeed just killed the messenger.

        As for being in the dark about that message, I already told you what it means. It means that emptyenum was defined twice (probably in different modules and then exported to the same one). If the two values are the same, then the error is harmless. If the values are different, you have a real problem. (It probably is harmless.)

        I'd personally start tracking the error down by looking at C:/Perl/site/lib/Win32/OLE/Const.pm.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-19 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found