Archive::Libarchive::XS::Constant - Constants reference for libarchive perl bindings
version 0.0903
use Archive::Libarchive::XS qw( :const );
This document contains a list of all constants provided by the libarchive perl bindings. Depending on the version of libarchive that you are using, some constants may not be available. You can detect this at run time by using the can method on the Archive::Libarchive::XS package, like so:
if(Archive::Libarchive::XS->can('ARCHIVE_OK')) { ... }
If provided by your libarchive library, these constants will be available and exportable from Archive::Libarchive::XS (you may import all available constants using the :const export tag).
:const
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2013 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Archive::Libarchive::XS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Archive::Libarchive::XS
CPAN shell
perl -MCPAN -e shell install Archive::Libarchive::XS
For more information on module installation, please visit the detailed CPAN module installation guide.