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.
zlib
CPANPLUS
CPAN.pm
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/
include
lib
/usr/local/
For this module, it will be $INC{'Alien/Zlib'}.
$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
/usr/local/lib
For this module, it will be $INC{'Alien/Zlib'}/lib
$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
/usr/local/include
For this module, it will be $INC{'Alien/Zlib'}/include
$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.
Probe for system installed version of zlib
Gather more hints file to ensure this module builds properly on all platforms that zlib builds on.
hints
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.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Alien::Zlib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Zlib
CPAN shell
perl -MCPAN -e shell install Alien::Zlib
For more information on module installation, please visit the detailed CPAN module installation guide.