matejhowell has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I'm picking up a project I did a year ago, and trying to make some enhancements to the code. I got everything working, but then had to revert back from v5.10 to v5.8 (and this is all ActivePerl for Windows, on XP). Now that I am trying to run it on v5.8 on my machine (specifically v5.8.9.825), I get the following:

perl -e "use Config::INI::Simple;" Can't locate Config/INI/Simple.pm in @INC (@INC contains: C:/Perl/site +/lib C:/Perl/lib .) at -e line 1. BEGIN failed--compilation aborted at -e line 1.

which is to be expected if I don't have the package installed. But, when I look on PPM (ActiveState's directory), it is not out there, and if I search CPAN, I can't find it, and if I google for it, the closest I get is http://search.cpan.org/dist/Config-INI-Simple -- which says it doesn't exist (I mean, I can find some things which look like direct source trunks on google, but I haven't looked into that very far -- explained below).

So, that makes me ask the question, where did Config::INI::Simple go? I could try and track down the source from some obscure place, but in this production application, I want to have as few as possible 'defunct' resources, and there are other INI packages to use.

Was Config::INI::Simple succeeded by some other package, or is there a compatible package/close package available that someone knows about (in the efforts to minimize retrofitting code)?

Thanks,

Matthew

Replies are listed 'Best First'.
Re: Where did Config::INI::Simple go?
by sflitman (Hermit) on Mar 02, 2009 at 03:48 UTC
    I think it was superseded by the conceptually similar Config::INI, can your code be changed to use this module. It looks like it has good platform compatibility.

    HTH,
    SSF

      Config ini simple is part of my program called naiocast...http://www.versiontracker.com/dyn/moreinfo/macosx/32300
      I'm not familiar with that module, but I use Config::Tiny to work with .ini files on Windows and OSX. It's very easy.
Re: Where did Config::INI::Simple go?
by Anonymous Monk on Mar 02, 2009 at 05:26 UTC
      Thanks for that tip about backpan -- that helps for the piece of mind. I'll look into Config::INI. I actually was able to pull the .pm file out of the recycle bin right before I posted, but wanted to post anyway in case it didn't work or the other Perl developer needed to find the package (not to mention the general backwards compatibility issue).

      Thanks! mh