View on
MetaCPAN
Luis M Rodríguez-R > Polloc-1.5.3b > Bio::Polloc::RuleSet::cfg

Download:
Polloc-1.5.3b.tgz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 1.0503   Source  

NAME ^

Bio::Polloc::RuleSet::cfg - Implementation of Bio::Polloc::RuleIO for .cfg files

DESCRIPTION ^

Reads .cfg files (a.k.a. .bme files) and produces a Bio::Polloc::RuleIO object.

AUTHOR - Luis M. Rodriguez-R ^

Email lmrodriguezr at gmail dot com

IMPLEMENTS OR EXTENDS ^

APPENDIX ^

Methods provided by the package

new

Generic initialization method.

Arguments

-init_id str

Sets the initial ID (1 by default).

*

Any other parameter accepted by Bio::Polloc::RuleIO.

*

Any other parameter accepted by Bio::Polloc::Polloc::Config.

read

Configures and parses the file.

value

Sets/gets a stored value.

Arguments

-key

The key.

-value

The value (if any).

alert

If true, alerts if the key is not set.

Returns

The value (mix).

INTERNAL METHODS ^

Methods intended to be used only within the scope of Bio::Polloc::*

_cfg

Sets/gets the Bio::Polloc::Polloc::Config main object.

Throws

Bio::Polloc::Polloc::Error if the object is not of the proper class.

_parse_rule

Parses the body of an 'add' statement in the Rule namespace.

Throws

Bio::Polloc::Polloc::Error if bad format.

_parse_set

Parses the body of the .rule.set and the .rule.setrule statements with the structure [set|setrule] key param='value'. If setrule, the value is replaced by the corresponding Bio::Polloc::RuleI object

Default arguments

Arguments passed as an array reference to the second slot:

-isrule bool (int)

To distinguish among set (false) and setrule (true)

_parse_glob

_parse_group_var

_parse_group_eval

_parse_ext_eval

_parse_group_operation

_parse_context

_parse_cfg

_initialize

syntax highlighting: