Skip Menu |

This queue is for tickets about the Config-Simple CPAN distribution.

Report information
The Basics
Id: 8052
Status: new
Priority: 0/
Queue: Config-Simple

People
Owner: Nobody in particular
Requestors: markus.schreiber [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 4.57
Fixed in: (no value)



Subject: '\n' in DOS-paths treated as newline
This is perl, v5.8.4 built for MSWin32-x86-multi-thread Binary build 810 provided by ActiveState Corp. MSWindows2000 SP4 If I have a value 'C:\temp\new.txt' the \n is treated as a newline character. This seems to be a problem of newline only. Test script: use strict; use warnings; use Config::Simple '-strict'; my $cfg = new Config::Simple(syntax=>'ini'); $cfg->param('test.one','C:\temp\new.txt'); $cfg->write('cs.ini'); $cfg = new Config::Simple('cs.ini'); print $cfg->param('test.one')."\n"; cs.ini: ; Config::Simple 4.57 ; Tue Oct 19 17:58:30 2004 [test] one="C:\\temp\\new.txt" output: C:\temp ew.txt TIA, Markus