in reply to Passing arguments

Your function will have three arguments passed to it. The $statement, a reference to %attr, and the $allow_active. You won't have to worry about $allow_active working its way into %attr.

Mike - mps@discomsys.com

"The two most common elements in the universe are hydrogen... and stupidity."
Harlan Ellison