ASP
view release on metacpan or search on metacpan
C<print> is overloaded to write to the browser by default. The inherent
behavior of print has not been altered and you can still use an alternate
filehandle as you normally would. This allows you to use print just
as you would in CGI scripts. The following statement would need no
modification between CGI and ASP PerlScript:
print param('URL'), " was requested by ", $ENV{REMOTE_HOST}, "\n";
=head2 Print LIST
Prints a string or comma separated list of strings to the browser. Use
as if you were using C<print> in a CGI application. Print gets around ASP's
limitations of 128k in a single $Response->Write() call.
NB: C<print> calls Print, so you could use either, but
print more closely resembles perl.
=cut
sub Print {
for (@_) {
if ( length($_) > 128000 ) {
inherent behavior of print has not been altered and you can
still use an alternate filehandle as you normally would. This
allows you to use print just as you would in CGI scripts. The
following statement would need no modification between CGI and
ASP PerlScript:
print param('URL'), " was requested by ", $ENV{REMOTE_HOST}, "\n";
Print LIST
Prints a string or comma separated list of strings to the
browser. Use as if you were using `print' in a CGI application.
Print gets around ASP's limitations of 128k in a single
$Response->Write() call.
NB: `print' calls Print, so you could use either, but print more
closely resembles perl.
DebugPrint LIST
Output is displayed between HTML comments so the output doesn't
( run in 1.667 second using v1.01-cache-2.11-cpan-f56aa216473 )