You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Sherwin Daganato <wi...@email.com.ph> on 2000/07/19 10:02:16 UTC

strange $fdat

snippet in index.html
<form action="foo.epl" method="GET">
  <input name="test" size="30" maxlength="25">
  <input type="submit" value="Search" name="string">
</form>

snippet in foo.epl
[- delete $fdat{string} ; -]
<a href="foo.epl?page=1&[+ [ %fdat ] +]">page 1</a>

When I submit index.html with test = #,
snippet in foo.epl becomes:
<a href="foo.epl?page=1&test=#">page 1</a>

foo.epl accepted the character '#' in $fdat{test} for the first time.
Why is it that when I click the link (page 1), only
$fdat{page} was received by foo.epl (for second time.

any work around? thanks.