benztronics has asked for the
wisdom of the Perl Monks concerning the following question:
I've been using Config::IniFiles for a scheduler (amongst other handy apps) very successfully over the past few months. I just moved it to a Windows Server 2008 box and it seems to be writing the config without carriage returns in windows. Opening in Vim, it's fine, but my users, unfortunately, want to use notepad. Vim shows that it's creating a UNIX file. After a little research, It looks like if it's created in windows, it should write the proper return. I checked the $^O variable and it shows MSWin32... so I'm not sure what I need to do. It has worked properly in all of the windows XP and server 2003 environments that I have used so far. Is there a way to forcefully set the filetype?
I am using Strawberry perl with the the latest CPAN installation of Config::IniFiles.
Any guidance would be very helpful, thanks!