Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Config::Generic::Element
Base class for configuration elements

Config::Generic::Element - Base class for configuration elements


NAME

Config::Generic::Element - Base class for configuration elements


SYNOPSIS


 use Config::Generic;

 my $parser = new Config::Generic($grammar);

 my $config = $parser->parse($text);

 # $config->isa("Config::Generic::Element")


DESCRIPTION

This is the base class of all configuration elements.


METHODS

new($name, $line)
Constructs a new configuration element. I can't see any reason why you should call this method. Maybe you should try one of the inherited classes?

get_name()
Returns the name of the configuration element.

get_line()
Returns the line in that the current configuration element was specified (if the element is a section it returns the line in that the section begins).


BUGS

None known yet. But they probably exist because the module is very new and untested. So please report anything suspecious you find.


TODO

Nothing :-)


SEE ALSO

the Config::Generic::Element manpage, the Config::Generic::Section manpage, the Config::Generic::Directive manpage, the Config::Generic::UnnamedSection manpage, the Config::Generic::NamedSection manpage, the Config::Generic::TieWrapper manpage, the Config::Generic::Parser manpage


AUTHOR

Nikolaus Rath, <Nikolaus@rath.org>


COPYRIGHT AND LICENSE

Copyright 2003 by Nikolaus Rath

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy