Greetings, esteemed monks!
I have implemented a solution to use a config file to store the database connection credentials so as to make an app I'm building more portable. I chose Config::General because it's pretty neat. When testing on my local box (Windows 7), when I do
my $cfgfile = 'prodsafety.cfg';
my $conf = Config::General->new($cfgfile);
my %config = $conf->getall;
foreach my $k (keys %config){
print "$k is $config{$k}."
}
I get the expected values. However, on the web host (GoDaddy Linux for those wondering), I get
7/16 is .
and that's it. I've tried playing with line endings but to no avail. Any thoughts?