ConfigReader::Simple now breaks windows paths

brian_d_foy on 2004-02-13T04:28:54

Oops.

If you upgrade to ConfigReader::Simple, which automatically does continuation lines, your configuration values may come out funny if you have windows paths since a trailing directory separator looks like the start of a continuation.

base_dir \


You can, however, quote the value to prevent that, at least until I get a fix ready.

base_dir "\"


Bum

ajt on 2004-02-13T09:09:25

I hate that! What an idiot I feel for not spotting it...

Even worse I use to use Windows! but as \ doesn't usually work as a base dir, you need something more specific such as c:\, you can almost never use \. Normally I let Perl do it's magic, and use proper Unix / notation, e.g. c:/, and Perl would know what to do at the file system level.

Well, at least I said it passes the tests, but could break in use, I just wish I'd come up with better tests, then this would have been spotted earlier...

Re:Bum

brian_d_foy on 2004-02-13T09:32:08

No problem.

We will just make it an option instead of a mandatory feature.