This package is originally written for the PAmodel package, but it turns out that PAmodel doesn't need stackenv any more. So I made it into a separate package.
The stackenv package provides a way to ‘neglect’ the scope added by a LaTeX environment. Instead, it offers a new stack-style storage mechanism. For more information, please see the documentation.