10 Perl modules that make it easier for WIN32 programmers

Source: Internet
Author: User
Tags ole win32
The contents of the Perl Archive Network (CPAN) of Windows-specific Perl modules can be satisfying for many people. Windows users like it because it allows users to efficiently and quickly carry out fairly complex work in a Windows development environment. Open source programmers like it because Perl has super compatibility with other operating systems. In short, everyone likes it.

That's why you have reason to read it no matter where you stand. In the document, I compile the Perl module directory for quick lookup in Win32 perl programming. (see Table A) If you're a Perl programmer who wants to manipulate the Windows world, you should add them to the toolbox.

Note: You can install the CPAN module directly from the network.

Table A

Package Name

Describe

Win32api::registry

This module provides the WIN32 API call interface associated with Windows registration, allows read-write registration values, creates delete registry key values, queries key values, and loads registration information from the disk.

Use this module when you need to read and write Windows registration information.

Win32::ole

This module allows you to control WIN32 applications by using Perl scripts that use OLE (object connectivity and embedding). OLE object references are related to the target OLE class, and you can access the OLE class method through Perl.

Use this module when you need to adapt the interface of an OLE application, such as Microsoft Office.

Win32::internet

This module provides access to library functions in WININET.DLL, which is especially useful for managing HTTP and FTP connections in Windows.

Use this module when Perl programs need to work with network connections, URLs, and Ftp,http.

Win32::P rocess::info

This module makes it easy to access information about Windows processes. It provides a function to retrieve the part of process and child process markup and to obtain detailed process information, noting that it does not allow the killing of existing processes.

Use this module when you need to retrieve or monitor the current process table

Win32::clipboard

This module provides a graceful interface for the Windows Clipboard. Allows you to read the contents of the Clipboard, add new information to the Clipboard, or "Wait" operations.

Use this module when you need to use the Clipboard to convert data between Windows and Perl applications or to display the current clipboard contents.

Win32::service

This module provides functions that interact with Windows Service Manager to start or stop Windows services.

Use this module when you need to start or stop a Windows service (for example, to install a program).

Win32::fileop

This module provides APIs for many Windows-specific file operations, including: Moving files to Recycle Bin, editing the INI file with recent documents, Open and close the dialog box and use the ShellExecute method to perform the default file operation.

Use this module when you need to quickly perform different Windows-specific operations.

Win32::P Ipe

This module allows you to add named Pipes to your Win32perl program.

Use this module when you need to establish a client-server connection in an application and in the Perl service daemon.

Win32::D riveinfo

This module can obtain extensive information on drives, file systems, used disk space, and Windows drive characters

Use this module when you want to interact with the Windows file system: Get available drive characters, calculate available and used disk space, or display drive properties.

Log::D Ispatch::win32eventlog

This module provides an API that interacts with the Windows event log. It allows you to register events and applications, contact them with a specific log, and add new information to the log.

Use this module to log error messages and use Windows event tracking

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.