14 Jan 2013 04:40:34 UTC
- Distribution: File-ShareDir-Tarball
- Module version: v0.2.2
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (14094 / 10 / 0)
- KwaliteeBus factor: 1
- 78.26% Coverage
- License: perl_5
- Activity24 month
- Download (14.14KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- EXPORT TAGS
- EXPORTABLE FUNCTIONS
- SEE ALSO
- COPYRIGHT AND LICENSE
File::ShareDir::Tarball - Deal transparently with shared files distributed as tarballs
use File::ShareDir::Tarball ':all'; # use exactly like File::ShareDir $dir = dist_dir('File-ShareDir');
If the shared files of a distribution are contained in a tarball (see Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do that), automatically extract the archive in a temporary directory and return the path to that directory. If called for a regular distribution without a bundle file (
shared-files.tar.gz), it'll return the original shared dir. In other words, from the consumer point of view, it'll behave just like File::ShareDir.
Behaves just like
Behaves just like
To test or use a shared dir that is not deployed yet.
Dist::Zilla plugin to create the tarball effortlessly.
Provides an alternative to this module by subclassing Module::Build and, upon installation, remove the files from previous installations as given in the packlist.
Yanick Champoux <firstname.lastname@example.org>
This software is copyright (c) 2012 by Yanick Champoux.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install File::ShareDir::Tarball, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install File::ShareDir::Tarball
For more information on module installation, please visit the detailed CPAN module installation guide.