I am writing an application using ActiveState to convert ASP pages from a generic format to a locale specific format. To do this requires that the application load in locale settings. These settings are stuffed into a hash. The problem is that these settings have dependencies on other settings. This may lead to a dependency tree that could potentially be huge. I do not want to have problems with blowing the heap out. From all this I have 2 questions. Can someone provide a little background on how Perl allocates memory? Second is there an approach or package that could be used to ensure that memory boundaries are protected.