[ic] Looping through form variables in [perl] tag

Jon Jensen jon at endpoint.com
Tue Apr 8 22:11:34 CDT 2008


On Tue, 8 Apr 2008, Richard Templet wrote:

> You should be able to do this:
>
> [perl]
>
> foreach my $key ( keys $CGI ) {}
>
> [/perl]

That'll need to be %$CGI, e.g.:

for my $key (keys %$CGI) { ... }

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list