Ron Grabowski wrote:
>
> > $conn = Win32::OLE->new("ADODB.Connection");
>
> Does anyone know if there are benefits to creating objects this way as
> opposed to
>
> $Server->CreateObject("ADODB.Connection");
I've heard strong arguments both ways. One the one hand, in ASP pages,
the $Server->CreateObject() method is already available without needing
to be 'use'd or imported or the like; saves on startup. OTOH,
Win32::OLE is a more portable solution since it's available in most
Win32 installations of Perl, and doesn't require the ASP object model.
There is no "wrong" way. There's the way that works best for you in
your situation, and there's the way that will receive the least amount
of flames when posted to newsgroups/mailing lists. They may or may not
be the same. =)
HTH
--
-Tim Hammerquist <[EMAIL PROTECTED]>
Computers are useless. They can only give you answers.
-- Pablo Picasso
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web