in reply to Function hash by reference.

Pass $location_hash without a leading backslash, because with a leading backslash, it will generate a reference to a hash reference. Once you're in catch_error() dereference the hash as following: %$location_href.

You should actually never pass an array or hash directly to a subroutine if you have multiple arguments being passed to it.

Replies are listed 'Best First'.
Re^2: Function hash by reference.
by kevyt (Scribe) on Jan 07, 2007 at 23:13 UTC
    Thank you!