Resource::Pack::Dir - a directory resource
version 0.03
my $dir = Resource::Pack::Dir->new( name => 'test', dir => 'css', install_from => data_dir, ); $dir->install;
This class represents a directory to be installed. It can also be added as a subresource to a Resource::Pack::Resource. This class consumes the Resource::Pack::Installable, Bread::Board::Service, and Bread::Board::Service::WithDependencies roles.
Read-only attribute for the source directory. Defaults to the service name.
Base dir, where dir is located. Defaults to the install_from_dir of the parent resource. The associated constructor argument is install_from.
dir
install_from_dir
install_from
The name to use for the installed directory. Defaults to dir.
Entire path to the source directory (concatenation of install_from_dir and dir).
Please see those modules/websites for more information related to this module.
Resource::Pack
Stevan Little <stevan.little@iinteractive.com>
Jesse Luehrs <doy at tozt dot net>
This software is copyright (c) 2011 by Infinity Interactive, Inc.
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 Resource::Pack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Resource::Pack
CPAN shell
perl -MCPAN -e shell install Resource::Pack
For more information on module installation, please visit the detailed CPAN module installation guide.