Chapter 4
Data::Counter Perl extension to count data items.
=head1 SYNOPSIS
use Data::Counter qw(count);
print count("one", "two", "three"); # prints 3
=head1 DESCRIPTION
This module provides a single function, count(), that counts its arguments.
=over 4
=item $num = count($item1, $item2, ...)
This subroutine returns the number of items passed as arguments.
=head2 EXPORT
The count routine is available for optional export.
=head1 AUTHOR
Sam Tregar
=head1 SEE ALSO
L.
=cut
Makefile.PL The Makefile Generator
The core of a CPAN distribution is the Makefile.PL script. Running Makefile.PL
generates a Makefile that drives the rest of the build, test, and installation procedure.
You might wonder why a module couldn't just include a Makefile outright the
reason is portability. Most operating systems have some kind of make utility, but the
format and syntax of their Makefiles differ significantly. Also, the Makefile needs to
know how Perl was configured in order to do its job. Hence, the solution is to have
104
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