Message-ID: <
20040907131351.GD2513@pjcj.net>
p4raw-id: //depot/perl@23276
# a cheap and nasty way to break an email address up into parts
- if ($email =~ /([^@])+@(.+)/) {
+ if ($email =~ /([^@]+)@(.+)/) {
print "Username is $1\n";
print "Hostname is $2\n";
}