mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
2.14 - fixed bug reported by Francisco Olarte Sanz
<folarte@peoplecall.com>, which caused _parse to ignore blocks with the name "0": <0> .. </0>, because it checked just if $block (the name between < and >) is true, and from the perl point of view "0" is not. Changed it to check for defined. Normally I avoid using 'defined' but in this case it will not be possible that $block contains the empty string, so defined is ok here. git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@40 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
10
Changelog
10
Changelog
@@ -1,3 +1,13 @@
|
||||
2.14 - fixed bug reported by Francisco Olarte Sanz
|
||||
<folarte@peoplecall.com>, which caused _parse to
|
||||
ignore blocks with the name "0":
|
||||
<0> .. </0>, because it checked just if $block (the name
|
||||
between < and >) is true, and from the perl point
|
||||
of view "0" is not. Changed it to check for defined.
|
||||
Normally I avoid using 'defined' but in this case
|
||||
it will not be possible that $block contains the
|
||||
empty string, so defined is ok here.
|
||||
|
||||
2.13 - fixed bug reported by Steffen Schwigon <schwigon@webit.de>.
|
||||
the parser was still active inside a here-doc, which
|
||||
cause weird results if the here-doc contained
|
||||
|
||||
Reference in New Issue
Block a user