Charlie Farinella wrote: > I'm passing parameters from a form to a result page, and then trying to > call a subroutine from an external package to process the variable. > > I'm using $Request->Form to get the value from the form to the result > page, but my subroutine is unable to make use of it. What is required > to make the subroutine aware of the variable? >
You can do $main::Request->Form from any perl package, or if you have GlobalPackage set to something like MyPackage, you can do $MyPackage::Request->Form. This inherently makes your package aware of ASP type variables, which might be bad design. You might better do something like &My::sub($Request->Form) when you call it from the ASP script in the first place. Request->Form is just a hash ref so is pretty ASP independent, and the params could come from anywhere. Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]