Perl Tutorials - Herong's Tutorial Examples - v6.01, by Dr. Herong Yang
Installing RPC::XML Module
This section provides a tutorial example on how to install the Perl module, RPC::XML 0.57, on Windows, downloaded from blackperl.com.
With NMake installed, now I am ready to install RPC::XML. Here is what I did:
1. Go to http://www.blackperl.com/RPC::XML/ to read the introduction of RPC::XML.
2. Download RPC-XML-0.57.tar.gz from http://search.cpan.org/search?dist=RPC-XML.
3. Extract RPC-XML-0.57.tar.gz with WinZIP 8.1 to \RPC-XML-0.57.
4. Now use NMake to install RPC::XML in a command window as shown below:
C:herong>cd \RPC-XML-0.57 C:herong>perl Makefile.PL ...... Writing Makefile for RPC::XML C:herong>nmake test ...... t\30_method.........ok t\40_server.........ok C:herong>nmake install ...... Writing \Perl\site\lib\auto\RPC\XML\.packlist Appending installation info to \Perl\lib/perllocal.pod
5. Now run the following command in a command window to test the installation. If you don't see any error messages, RPC::XML module is installed correctly.
C:herong>perl -e "use RPC::XML;"
Please do not delete the .tar file after installation. It contains some very interesting files. There are many testing programs in the "t" directory. All server side default methods are defined in the "methods" directory.
Table of Contents
Data Types: Values and Variables
Expressions, Operations and Simple Statements
Name Spaces and Perl Module Files
Hard References - Addresses of Memory Objects
Objects (or References) and Classes (or Packages)
Typeglob and Importing Identifiers from Other Packages
String Built-in Functions and Performance
File Handles and Data Input/Output
Open Directories and Read File Names
File System Functions and Operations
Socket Communication Over the Internet
XML::Simple Module - XML Parser and Generator
SOAP::Lite - SOAP Server-Client Communication Module
Perl Programs as IIS Server CGI Scripts
CGI (Common Gateway Interface)
XML-RPC - Remote Procedure Call with XML and HTTP
►RPC::XML - Perl Implementation of XML-RPC
RPC::XML::Server - XML-RPC Server Interface Class
RPC::XML Client and Data Classes
RpcXmlServer.pl - RPC::XML Server Sample Program
RpcXmlClient.pl - RPC::XML Client Sample Program
Sending Arrays with Remote Method Calls
Integrating Perl with Apache Web Server
CGI.pm Module for Building Web Pages
LWP::UserAgent and Web Site Testing
Converting Perl Script to Executable Binary