in reply to nested foreach siezing up somehow

while ($configFile =~ /$nextInLine/) { importconfigs($nextInLine, $importdirname,$configFile); }
This loop either does not run at all, or never terminates. Perhaps you meant an if instead of a while? Or a trailing /g and using $&? And you have a few of those loops.

Replies are listed 'Best First'.
Re^2: nested foreach siezing up somehow
by grep65535 (Initiate) on Aug 23, 2011 at 18:29 UTC

    You know... that makes perfect sense. I'll give it a go when I get home and confirm it. Thanks for that.

Re^2: nested foreach siezing up somehow
by grep65535 (Initiate) on Aug 24, 2011 at 02:57 UTC
    That worked perfectly, thank you JavaFan. :)