2 # BioPerl module for wrapping runtime parameters
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Chad Matsalla (bioinformatics1 at dieselwurks dot com)
8 # Copyright Chad Matsalla
10 # You may distribute this module under the same terms as perl itself
12 # POD documentation - main docs before the code
16 Bio::Tools::Run::ParametersI - A Base object for the parameters used to run programs
20 # do not use this object directly, it provides the following methods
23 my $void = $obj->set_parameter("parameter_name","parameter_value");
24 my $value = $obj->get_parameter("parameter_name");
28 This is a basic container to hold the parameters used to run a program.
34 User feedback is an integral part of the evolution of this and other
35 Bioperl modules. Send your comments and suggestions preferably to
36 the Bioperl mailing list. Your participation is much appreciated.
38 bioperl-l@bioperl.org - General discussion
39 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
43 Please direct usage questions or support issues to the mailing list:
45 I<bioperl-l@bioperl.org>
47 rather than to the module maintainer directly. Many experienced and
48 reponsive experts will be able look at the problem and quickly
49 address it. Please include a thorough description of the problem
50 with code and data examples if at all possible.
54 Report bugs to the Bioperl bug tracking system to help us keep track
55 of the bugs and their resolution. Bug reports can be submitted via the
58 https://github.com/bioperl/bioperl-live/issues
60 =head1 AUTHOR - Chad Matsalla
62 Email bioinformatics1 at dieselwurks dot com
66 The rest of the documentation details each of the object methods.
67 Internal methods are usually preceded with a _
72 # Let the code begin...
75 package Bio
::Tools
::Run
::ParametersI
;
78 # Object preamble - inherits from Bio::Root::Root
81 use base
qw(Bio::Root::RootI);
86 Usage : $parameter_object->get_parameter($param_name);
87 Function: Get the value of a parameter named $param_name
88 Returns : A scalar that should be a string
89 Args : A scalar that should be a string
95 $self->throw_not_implemented;
101 Title : set_parameter
102 Usage : $parameter_object->set_parameter($param_name => $param_value);
103 Function: Set the value of a parameter named $param_name to $param_value
105 Args : A hash containing name=>value pairs
110 my ($self,$name,$value) = @_;
111 $self->throw_not_implemented;