Learn how to MD:)
This commit is contained in:
@ -5,16 +5,23 @@ This causes the parser module to load all modules listed in the configuration fi
|
||||
Each module is a .pm file with the same name as the module specified in the configuration file.
|
||||
## module
|
||||
The modules must define a package following the same system; My::parser::package_name
|
||||
|
||||
The modules must define the following subs:
|
||||
* new
|
||||
|
||||
Arguments
|
||||
1 class
|
||||
2 config
|
||||
|
||||
Resulting self-> attributes
|
||||
|
||||
* {'config'}
|
||||
* {'parser'}
|
||||
|
||||
The parser is commonly the output of the modules_parser->new()
|
||||
|
||||
Returns $self
|
||||
|
||||
* parse
|
||||
No arguments
|
||||
Responsible to fetch whatever it wants to parse
|
||||
|
||||
Reference in New Issue
Block a user