By Scott McMahan
Use Perl with COM strategies in management and DevelopmentDiscover why Perl is the right language for home windows scripting and platforms management. writer Scott McMahan explains the Microsoft notion of automation, and indicates you ways you should use Perl with COM innovations to gain it. store effort and time in management and improvement. Getting the main out of Window's multitasking and networking calls for a distinct mind set. This booklet is a hands-on, project-oriented, consultant that demonstrates how one can in attaining automation in MSWindows by way of controlling many Win32 approach approaches with no quick consumer interplay. enforce strategies quickly. each one bankruptcy offers a case research within which the writer has used the facility of Perl to automate a few a part of home windows. Code for the courses, and a Perl interpreter, seem at the CD-ROM. Discussions variety from natural Perl courses like a UNIX 'cron' clone to courses that use Automation to regulate different software program together with Microsoft place of work purposes. also you are going to learn how to: - ship mail the SMTP means - Automate nightly backups - Smoke try your software in Developer Studio - Use Perl to automate rebuilds - Create C++ add-ins for Perl - Use Perl as a CGI scripting language So sit back! Perl, in home windows, is the last word automation purchaser simply because coding is as painless as visible simple, and Perl's power as a scripting language for working jobs instantly is unheard of. writer Biography: Scott McMahan manages a community of home windows and UNIX machines at Softbase platforms Inc, and has been utilizing Perl considering 1992. he's a publication reviewer and writer for the web website Cyber reports, and an occasional contributor to home windows Developer's magazine.
Read or Download Automating Windows with PERL PDF
Key FeaturesWrite apps for the multithreaded global with Clojure's taste of practical programmingDiscover Clojure's positive factors and merits and use them on your current projectsThe ebook is designed in order that you will be capable placed to take advantage of your present talents and software program wisdom to develop into a more suitable Clojure developerBook DescriptionWe have reached some degree the place machines will not be getting a lot quicker, software program tasks must be brought fast, and top of the range in software program is extra challenging as ever.
- Pro JSP 2
- Practical Ext JS Projects With Gears
- Flickr Mashups (Programmer to Programmer)
Extra info for Automating Windows with PERL
If you use the Korn shell, you have to face the kinds of portability and availability problems you avoid using Perl. The Korn shell is standard with some UNIX flavors (like AIX), but not all; it is proprietary (not open source), so you will encounter "clean room" public-domain implementations on some systems; it exists in two major versions, ’88 and ’93, so you will have to be aware of the lowest common denominator, etc. 4. The only exception I can think of is Visual Basic. 5. The reverse is also true: Non-C syntax languages have enjoyed limited acceptance.
Chapter 2 Sending Mail the SMTP Way My automated tasks send me e-mail because when one does something, I like to know about it. In this chapter, I will show you how to add SMTP-based e-mail to your programs. MAPI Doesn’t Cut It The goal of this chapter is to develop a Perl subroutine that will send a piece of e-mail. Mainly, this subroutine will be used to send noninteractive e-mail, a curiously forgotten and neglected part of Windows. I do not believe (from the difficulty I’ve had doing it) that noninteractive e-mail was ever considered by whoever designed Windows’ e-mail support.
A typical e-mail message can be sent using four commands. If you have Internet mail protocols on your network, you almost certainly have an SMTP server available. Using SMTP allows you to do an end run around Windows’ MAPI baggage. RFC 821, “SIMPLE MAIL TRANSFER PROTOCOL,” by Jonathan B. Postel, defines the Simple Mail Transfer Protocol. This protocol has remained stable since August 1982, which proves how well-tested and reliable this protocol has proven to be. ) The name RFC originally meant “Request for Comment,” but RFCs have become documents in which Internet standards are defined.