in reply to Re: Re: passing hash elements as parameters
in thread passing hash elements as parameters

You are right. You weren't passing an array but a reference to an array, so:
($formdata,$location)=@_;
would result in $formdata containing an arrayref and $location being undefined.

CU
Robartes- just butting in :)