Re: Passing form input to subroutine

2002-09-09 Thread Brat Wizard
In my applications, I generally scoop up the form into a hash and then pass it as a hash ref. eg: my $form = $Request->Form(); myfunc($form); sub myfunc { my $form = shift; print "Use like this: ", $form->{key}; print "Or like this: ", $$form{key}; } Hope this h

Re: Passing form input to subroutine

2002-09-09 Thread Josh Chamas
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.