projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9ef5d
)
";" nicht als Kommentarzeichen ansehen.
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 16 May 2007 14:12:10 +0000
(14:12 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 16 May 2007 14:12:10 +0000
(14:12 +0000)
SL/Inifile.pm
patch
|
blob
|
history
diff --git
a/SL/Inifile.pm
b/SL/Inifile.pm
index
f7fe27b
..
aadec0a
100644
(file)
--- a/
SL/Inifile.pm
+++ b/
SL/Inifile.pm
@@
-52,12
+52,10
@@
sub new {
open FH, "$file" or Form->error("$file : $!");
while (<FH>) {
- next if m/^(#|;|\s)/;
-
chomp;
# strip comments
- s/
(#|;)
.*//g;
+ s/
#
.*//g;
# remove any trailing whitespace
s/^\s*//;