VLGal::File::Factory - Vincenzo's little gallery file factory
TODO
Vincenzo's little gallery file factory
VLGal::File::Factory is a factory class to create VLGal::File objects.
VLGal::File::Factory
VLGal::File
Creates a new VLGal::File::Factory object.
Creates a VLGal::File object based on the type of the file -put together fith options dirname and basename. OPT_HASH_REF is a hash reference used to pass initialization options for the VLGal::File object. On error an exception Error::Simple is thrown.
dirname
basename
OPT_HASH_REF
Error::Simple
Always returns the same VLGal::File::Factory -singleton- object instance. The first time it is called, parameters CONSTR_OPT -if specified- are passed to the constructor.
CONSTR_OPT
VLGal::Directory, VLGal::File, VLGal::File::MMagic, VLGal::Size, VLGal::Style
None known (yet.)
First development: September 2003 Last update: October 2003
Vincenzo Zocca
Copyright 2003 by Vincenzo Zocca
This file is part of the VLGal module hierarchy for Perl by Vincenzo Zocca.
VLGal
The VLGal module hierarchy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
The VLGal module hierarchy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the VLGal module hierarchy; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
To install VLGal::Directory, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VLGal::Directory
CPAN shell
perl -MCPAN -e shell install VLGal::Directory
For more information on module installation, please visit the detailed CPAN module installation guide.