#!/usr/bin/perl

use CGI qw(:standard);

print "Content-type:text/html\n\n";

my $amount = ( 1024 ** 2 ) * param('amount');
print "<html><head><title>Super-big page.</title></head><body><h1>Text, $amount byte of it!</h1><p>";
for( my $i = 0; $i < $amount; $i++ ) {
	print chr( rand(26) + 97 );
}
print "</p></body></html>";
