in reply to email address as argument to script
Are you sure your problem isn't because the first argument is in $ARGV[0] and not $argv[1]?
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg