#!/usr/bin/perl -w use strict; use CGI ':standard'; my $email = param('email'); (my $name, my $domain)=split(/\@/, $email); print "Content-type: text/html\n\n"; print "$name";