CPAN Module Distributions
As an example, I'll create a module distribution for a fictitious module called
Data::Counter. To use h2xs to generate the module skeleton for Data::Counter,
I use the following command:
h2xs XA n Data::Counter
This command creates the directory structure shown in Figure 4 1 and Table 4 1
beneath the directory where the command was run. The X option tells h2xs not to
generate any XS files and the A option causes h2xs to omit Autoloader support.
The n option tells h2xs the name of the module to be created. h2xs uses the module
name to create a directory to hold the generated files.
Figure 4 1. Directory structure created by h2xs XA n Data::Counter
99
99
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved