in reply to Re: Trying to re-write some VB-OLE into PERL-OLE
in thread Trying to re-write some VB-OLE into PERL-OLE

Do you do any Perl OLE programming yourself, DragonChild? I do... and while I don't know anything about this "Library" component's object model, what juo wrote looks like perfectly fine Perl code, except for the missing parentheses around the condition of the if statement.

Replies are listed 'Best First'.
Re^3: Trying to re-write some VB-OLE into PERL-OLE
by dragonchild (Archbishop) on Sep 24, 2004 at 00:25 UTC
    I have tried to get into OLE, but the documentation from the Perl side is poor and I don't like reading Microsoft's docs. They assume too much about what you're trying to do. *shrugs*

    I still maintain that if the VB code works, it should remain in VB, but that's just my opinion.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested

      You have a valid point; I can't count the hours I've wasted rewriting stuff just for the heck'a. But OTOH, translating code from a language you know into a language you don't is one of the ways you can gain some familiarity with it. (Of course, it should be only a small part of this nutritious breakfast... ;-)