<%@ LANGUAGE = PerlScript%> Response Object
ActiveState PerlScript

Response Object

There are many ways to get information sent to a browser.

  1. You can use HTML!
  2. You can use <%="expressions" %>.
  3. You can use <% $Response->write("the Response object");%>.

<% $url = $Request->ServerVariables('PATH_INFO')->item; $_ = $Request->ServerVariables('PATH_TRANSLATED')->item; s/[\/\\](\w*\.asp\Z)//m; $params = 'filename='."$1".'&URL='."$url"; $params =~ s#([^a-zA-Z0-9&_.:%/-\\]{1})#uc '%' . unpack('H2', $1)#eg; %> Return

view the source