Revision history for Perl extension Apache::Admin::Config.
0.11 Thu Oct 25 20:57:52 2001
- Bugfix in add_section method. add_section will add entries
before the last context's section line.
0.10 Thu Oct 12 02:36:17 2001
- Bugfix in test scripts, that makes test fail randomly
- Major feature enhancements
(DIRECTIVE|SECTION) METHOD
- directive() now returns full list of directives, sorted
as it comes in the file. Each element of this list is
an object that points to the directive entry.
- directive(Foo) also returns a full list of value of all
"Foo" directive in current context, also sorted as it comes
in the file. Each list's element is also an object that
points to the directive entry.
- directive(Foo, Bar) returns an object that points to the
last directive (if more than one) wich has the same
directive's name/value. In list context, it returns the
full list of same directive's name/value.
- directive() can now takes the -which=>N parameter to
select the entry's number to return (if exists).
ADD_(DIRECTIVE|SECTION) METHOD
- can take 4 parameters:
- -before=>target where target is an Apache::Admin::Config
object, that points to a section or directive of the same
context than add_directive() method's object caller. The
directive if added just before the target.
- -after=>target idem but after the target.
- -ontop added on the top of current context.
- -onbottom added on the bottom of current context.
- Internal parser modification that allows a section to have
same name than a directive in the same context without no clash.
- New methods (see documentation for more details):
- first_line: return the first line of rule pointed by caller object
- last_line: return the last
- lines: return all lines occuped by the rule
- dump_line: dump a line
- isin: true if caller object is in the same context than one given in argument
- type: return the type of caller object
- name: return the name of caller object
- API had change, so contructor can take the -oldapi=>1 argument for
a backward compatibility
0.07 Thu Sep 20 02:36:17 2001
- Major change, section and directive methods no any longer
return an arrayref in list context but a simple list.
Documentation corrected (thanx to Nathan Wiger for this
suggestion).
0.06 Tue Sep 18 01:09:24 2001
- Make a quick and dirty documentation
- value() return the context value if no arguments given
- new() can be called without argument, save() need an
argument in this case
0.05 Sat Aug 18 14:39:45 2001
- Major bug fix, if config file wasn't exists, module won't work !
- Bug fix, value method wasn't took the appropriate value for change
it, resulted to an unchanged value
- Bug fix, $master and $root value was undefined in value method,
so value wasn't work at all
0.04 Fri Aug 17 01:42:16 2001
- Fix a minor bug in directive method.
0.03 Fri Aug 17 01:07:17 2001
- Fix a major bug in directive method.
0.02 Thu Aug 16 01:48:54 2001
- Put module on CPAN
- Fix a very major bug that cause "syntax error" from parser on
directives with no value like "clearmodulelist", thanx A2 for
this report.
0.01 Sun Aug 12 11:58:10 2001
- Original version; created by h2xs 1.21 with options -AX -n Apache::Admin