in reply to <INPUT type="image"> problem with IE browser
It looks like you'll have to find another way, like making your page number part of the name, such as
<INPUT type="image" name="page23" src="...">
A grep through all params with a name matching /^page(\d+)\.x$/ will then find your page number.
Or, using map, and the fact that a regex that doesn't match returns an empty list, and a list of captured matches if it does, that can even become:($param) = grep /^page\d+\.x$/, $cgi->param;
($page) = map /^page(\d+)\.x$/, $cgi->param;
That doesn't look half bad to me.
|
|---|