(Apologies in advance for this rant.)

Dave Roth <[EMAIL PROTECTED]> writes:

> I would really recommend Win32::Lanman, also. WMI is great but it is
> very expensive (processing time, memory overhead, etc).

How many times per second do you normally enable or disable a service?

Put another way: Computers double in speed every 18 months.  Do you?

Almost all of the expense of almost every script occurs when humans
read it, not machines.  So you should optimize your scripts for human
readers.  For every line you write, think about the poor sod five
years from now who never met you, but who is desperately trying to fix
some bug or add some feature.  Because that is exactly what is going
to happen (in my experience, anyway).

With that in mind, a clean, object-oriented interface supported by
ActiveState and Microsoft is generally preferable to any third-party
module.  The very fact that someone had to ask where to find it is a
serious warning sign.

Don't get me wrong; Win32::Lanman is a *great* module.  And there are
some things, like user rights management, which you cannot do without
it, at least for now.  But I still try to avoid it.

 - Pat

P.S.  It would be different if ActiveState bundled it.  Has anybody
tried to get them to do so?  How would one go about this?
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to