Luis M Rodríguez-R
and 1 contributors

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

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 53:

Expected text after =item, not a bullet

Around line 57:

Expected text after =item, not a bullet