#!/usr/bin/perl use CGI qw(:standard); my $username = param('username') || "unknown"; print header("text/plain"); print "Hello $username!\n";