Alien::Zlib
require Alien::Zlib;
my $prefix = Alien::Zlib->prefix;
my $include = Alien::Zlib->include;
my $lib = Alien::Zlib->lib;
my $ver = Alien::Zlib->version;
This module resolves the non-perl prerequisite zlib. This allows your program/module to depend on the zlib library and expect common installers, such as CPANPLUS and CPAN.pm to install them for you.
It does so by installing a private copy of the zlib libraries into it's module directory.
Go to http://www.zlib.org for more information about zlib.
Returns the prefix (ie, the directory) where the include and lib directores will live. On a standard unix system, this might be /usr/local/
For this module, it will be $INC{'Alien/Zlib'}.
Returns the full path to the lib directory for the zlib libraries. On standard unix systems, this might be /usr/local/lib
For this module, it will be $INC{'Alien/Zlib'}/lib
Returns the full path to the include directory for the zlib libraries. On standard unix systems, this might be /usr/local/include
For this module, it will be $INC{'Alien/Zlib'}/include
Returns the version of the zlib libraries installed by this version of Alien::Zlib
Returns a list of full paths to the files that can be found in the 'Alien::Zlib->lib' directory. This corresponds to all created libraries.
Returns a list of full paths to the files that can be found in the 'Alien::Zlib->include' direcotry. This corresponds to all copied header files.
zlibhints file to ensure this module builds properly on all platforms that zlib builds on.This module by Jos Boumans <kane@cpan.org>.
This module is copyright (c) 2003 Jos Boumans <kane@cpan.org>. All rights reserved.
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself.
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head1'