about summary refs log tree commit
path: root/Net/SMTP.pm
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>2004-02-18 13:56:22 +0000
committerGraham Barr <gbarr@pobox.com>2009-02-24 08:51:37 -0600
commitf478b4cecaea18c0c4e810075b9d494f6e258438 (patch)
tree04f30857be9fb8a3d4d945c7ab605549e2f60e92 /Net/SMTP.pm
parentc0eff23678c2c01613414be07bc5db5c646ea50f (diff)
downloadperl-libnet-f478b4cecaea18c0c4e810075b9d494f6e258438.tar.gz
Allow host to be passed as an option instead of the first arg
Diffstat (limited to 'Net/SMTP.pm')
-rw-r--r--Net/SMTP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Net/SMTP.pm b/Net/SMTP.pm
index 8219e8a..1e01645 100644
--- a/Net/SMTP.pm
+++ b/Net/SMTP.pm
@@ -576,7 +576,7 @@ known as mailhost:
 
 =over 4
 
-=item new Net::SMTP [ HOST, ] [ OPTIONS ]
+=item new ( [ HOST ] [, OPTIONS ] )
 
 This is the constructor for a new Net::SMTP object. C<HOST> is the
 name of the remote host to which an SMTP connection is required.