Is there a more efficient way of doing this:

my $type = $Request->Form('type');
my $login = $Request->Form('login');
my $password = $Request->Form('password');
my $SOME_VARIABLE = $Request->Form('SOME_VARIABLE');
etc.

I like to set these to real variables so that they are easier to type
later on in my code, but declaring them like that is always a pain.

I thought about doing something like:

for (qw(type login password)) {
  $$_ = $Request->Form($_);
}

but that interferes with UseStrict.

Or am I approaching this problem all wrong?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to