Be careful - URI Escape
other variable may contain even more dubious characters
use the URI escape '| u':
<
a
href
=
"page_
<%
$page
|
u
%>
.html"
>
Next
</
a
>
replaces < > # & ? / [space] with %3E etc etc
uses URI::Escape