Data::TestImage::DB - an abstract class for an image database
version 0.007
get_db_dir()
Returns the top-level directory of this image database. This method must be implemented by children of this class in order to use the default implementation of "get_installed_images".
get_installed_images()
Returns a list of all installed images in the database. Each image is returned as a Path::Class::File.
get_image( $image_name )
Returns the first image file (as a Path::Class::File) from "get_installed_images" that has a filename that matches the string $image_name.
$image_name
install_package($args, %opt)
A DB child can optionally implement this method in order to pass in arguments for installing further images.
Keys in in %opt may include:
%opt
verbose
Zakariyya Mughal <zmughal@cpan.org>
This software is copyright (c) 2014 by Zakariyya Mughal.
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 Data::TestImage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::TestImage
CPAN shell
perl -MCPAN -e shell install Data::TestImage
For more information on module installation, please visit the detailed CPAN module installation guide.