Back to top


NAME

UpdateChecker::TargetData -- for configuration for target of UpdateChecker

Back to top


SYNOPSIS

 # create object
 my $data = new UpdateChecker::TargetData::ConfigGeneral(file_name => 'target.cfg');
 # return target configuration hash_ref
 $data->taregt_data
 # return specified target configuration hash_ref
 $data->taregt_data($target)
 # accessor of new's argumnet
 $data->option($key);
 # exchange to another format
 $data->exchange_to('Storable', file_name => 'target.str');
 # return group list
 @group_list = $data->group_list;
 # return target list
 @list = $data->check_list;
 # return target list by group
 @list_by_group = $data->check_list($gruop_name);
 # store data
 $data->store();
 # load data
 $data->load();
 # delete target
 $data->delete($target);
 # dump target data
 %hash = $data->dump();

Back to top


SEE ALSO

 UpdateChecker
 UpdateChecker::Data

Back to top


AUTHOR

 Ktat <ktat.is at gmail.com>

Back to top


COPYRIGHT

 Copyright 2003-2004 by Ktat <ktat.is at gmail.com>.
 This program is free software; you can redistribute it
 and/or modify it under the same terms as Perl itself.
 See http://www.perl.com/perl/misc/Artistic.html

Back to top