in reply to Parsing a really, REALLY big MRTG config

Are you talking about this? If so, I would try MRTG::Parse to see if it's faster. I would also look at reducing the horrors of "readcfg", which contains a lot of extraneous junk (not to mention foreach loops iterating over hash keys...). Favorite lines:
# oops spelling error s/^supress/suppress/gi;

Replies are listed 'Best First'.
Re^2: Parsing a really, REALLY big MRTG config
by Hercynium (Hermit) on Jun 09, 2007 at 00:22 UTC
    MRTG_lib... yep that's the one! I was typing from my frazzled and faulty memory :)

    I don't know how I missed that CPAN module! I guess since I already had Tobi's code I never bothered looking!

    I'm checking it out right now!