summaryrefslogtreecommitdiff
path: root/lib/Net
diff options
context:
space:
mode:
authorPiotr Fusik <pfusik@op.pl>2005-07-31 14:50:04 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-08-02 10:39:51 +0000
commit3c4b39bee8832007b7e91bfce8701d34cacab411 (patch)
tree190f72b72255db85e5c78f68a0d0047692aab3a9 /lib/Net
parentdb30010093a0bacd16d1fa3fd1bd5397da6479d3 (diff)
downloadperl-3c4b39bee8832007b7e91bfce8701d34cacab411.tar.gz
Typos in *.p[lm]
From: "Piotr Fusik" <pfusik@op.pl> Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261
Diffstat (limited to 'lib/Net')
-rw-r--r--lib/Net/Cmd.pm2
-rw-r--r--lib/Net/Config.pm6
-rw-r--r--lib/Net/FTP.pm12
-rw-r--r--lib/Net/NNTP.pm2
-rw-r--r--lib/Net/POP3.pm4
-rw-r--r--lib/Net/Ping.pm12
-rw-r--r--lib/Net/SMTP.pm4
7 files changed, 21 insertions, 21 deletions
diff --git a/lib/Net/Cmd.pm b/lib/Net/Cmd.pm
index b39375f1f5..f7c74846c6 100644
--- a/lib/Net/Cmd.pm
+++ b/lib/Net/Cmd.pm
@@ -749,7 +749,7 @@ Returns a filehandle tied to the Net::Cmd object. After issuing a
command, you may read from this filehandle using read() or <>. The
filehandle will return EOF when the final dot is encountered.
Similarly, you may write to the filehandle in order to send data to
-the server after issuing a commmand that expects data to be written.
+the server after issuing a command that expects data to be written.
See the Net::POP3 and Net::SMTP modules for examples of this.
diff --git a/lib/Net/Config.pm b/lib/Net/Config.pm
index 8984ed7889..a502abe751 100644
--- a/lib/Net/Config.pm
+++ b/lib/Net/Config.pm
@@ -129,7 +129,7 @@ Net::Config - Local configuration data for libnet
=head1 DESCRIPTION
C<Net::Config> holds configuration data for the modules in the libnet
-distribuion. During installation you will be asked for these values.
+distribution. During installation you will be asked for these values.
The configuration data is held globally in a file in the perl installation
tree, but a user may override any of these values by providing their own. This
@@ -139,7 +139,7 @@ For example
# .libnetrc
{
- nntp_hosts => [ "my_prefered_host" ],
+ nntp_hosts => [ "my_preferred_host" ],
ph_hosts => [ "my_ph_server" ],
}
__END__
@@ -267,7 +267,7 @@ There is no firewall
=item ftp_ext_passive
-=item ftp_int_pasive
+=item ftp_int_passive
FTP servers normally work on a non-passive mode. That is when you want to
transfer data you have to tell the server the address and port to
diff --git a/lib/Net/FTP.pm b/lib/Net/FTP.pm
index aac72b2277..7dfe0ab5f4 100644
--- a/lib/Net/FTP.pm
+++ b/lib/Net/FTP.pm
@@ -1314,7 +1314,7 @@ B<Firewall> - The name of a machine which acts as an FTP firewall. This can be
overridden by an environment variable C<FTP_FIREWALL>. If specified, and the
given host cannot be directly connected to, then the
connection is made to the firewall machine and the string C<@hostname> is
-appended to the login identifier. This kind of setup is also refered to
+appended to the login identifier. This kind of setup is also referred to
as an ftp proxy.
B<FirewallType> - The type of firewall running on the machine indicated by
@@ -1441,7 +1441,7 @@ Returns the full pathname to the new directory.
=item alloc ( SIZE [, RECORD_SIZE] )
The alloc command allows you to give the ftp server a hint about the size
-of the file about to be transfered using the ALLO ftp command. Some storage
+of the file about to be transferred using the ALLO ftp command. Some storage
systems use this to make intelligent decisions about how to store the file.
The C<SIZE> argument represents the size of the file in bytes. The
C<RECORD_SIZE> argument indicates a mazimum record or page size for files
@@ -1449,7 +1449,7 @@ sent with a record or page structure.
The size of the file will be determined, and sent to the server
automatically for normal files so that this method need only be called if
-you are transfering data from a socket, named pipe, or other stream not
+you are transferring data from a socket, named pipe, or other stream not
associated with a normal file.
=item ls ( [ DIR ] )
@@ -1473,7 +1473,7 @@ a filename or a filehandle. If not specified, the file will be stored in
the current directory with the same leafname as the remote file.
If C<WHERE> is given then the first C<WHERE> bytes of the file will
-not be transfered, and the remaining bytes will be appended to
+not be transferred, and the remaining bytes will be appended to
the local file if it already exists.
Returns C<LOCAL_FILE>, or the generated local file name if C<LOCAL_FILE>
@@ -1490,7 +1490,7 @@ Returns C<REMOTE_FILE>, or the generated remote filename if C<REMOTE_FILE>
is not given.
B<NOTE>: If for some reason the transfer does not complete and an error is
-returned then the contents that had been transfered will not be remove
+returned then the contents that had been transferred will not be remove
automatically.
=item put_unique ( LOCAL_FILE [, REMOTE_FILE ] )
@@ -1520,7 +1520,7 @@ Returns the I<modification time> of the given file
Returns the size in bytes for the given file as stored on the remote server.
B<NOTE>: The size reported is the size of the stored file on the remote server.
-If the file is subsequently transfered from the server in ASCII mode
+If the file is subsequently transferred from the server in ASCII mode
and the remote server and local machine have different ideas about
"End Of Line" then the size of file on the local machine after transfer
may be different.
diff --git a/lib/Net/NNTP.pm b/lib/Net/NNTP.pm
index f9a6ddf7a7..0467a8034c 100644
--- a/lib/Net/NNTP.pm
+++ b/lib/Net/NNTP.pm
@@ -767,7 +767,7 @@ specified article.
If C<FH> is specified then it is expected to be a valid filehandle
and the result will be printed to it, on success a true value will be
returned. If C<FH> is not specified then the return value, on success,
-will be a reference to an array containg the article requested, each
+will be a reference to an array containing the article requested, each
entry in the array will contain one line of the article.
If no arguments are passed then the current article in the currently
diff --git a/lib/Net/POP3.pm b/lib/Net/POP3.pm
index a04e12affa..510d1864cf 100644
--- a/lib/Net/POP3.pm
+++ b/lib/Net/POP3.pm
@@ -572,7 +572,7 @@ Return the sever's connection banner
=item capa ()
-Return a reference to a hash of the capabilties of the server. APOP
+Return a reference to a hash of the capabilities of the server. APOP
is added as a pseudo capability. Note that I've been unable to
find a list of the standard capability values, and some appear to
be multi-word and some are not. We make an attempt at intelligently
@@ -639,7 +639,7 @@ when the server connection closed.
=item reset ()
-Reset the status of the remote POP3 server. This includes reseting the
+Reset the status of the remote POP3 server. This includes resetting the
status of all messages to not be deleted.
=item quit ()
diff --git a/lib/Net/Ping.pm b/lib/Net/Ping.pm
index e989261933..bd0855f765 100644
--- a/lib/Net/Ping.pm
+++ b/lib/Net/Ping.pm
@@ -252,7 +252,7 @@ sub mselect
}
}
-# Description: Allow UDP source endpoint comparision to be
+# Description: Allow UDP source endpoint comparison to be
# skipped for those remote interfaces that do
# not response from the same endpoint.
@@ -1474,7 +1474,7 @@ otherwise it will return false. NOTE: Unlike the other protocols,
the return value does NOT determine if the remote host is alive or
not since the full TCP three-way handshake may not have completed
yet. The remote host is only considered reachable if it receives
-a TCP ACK within the timeout specifed. To begin waiting for the
+a TCP ACK within the timeout specified. To begin waiting for the
ACK packets, use the ack() method as explained below. Use the
"syn" protocol instead the "tcp" protocol to determine reachability
of multiple destinations simultaneously by sending parallel TCP
@@ -1506,10 +1506,10 @@ otherwise. The maximum number of data bytes that can be specified is
1024.
If $device is given, this device is used to bind the source endpoint
-before sending the ping packet. I beleive this only works with
+before sending the ping packet. I believe this only works with
superuser privileges and with udp and icmp protocols at this time.
-If $tos is given, this ToS is configured into the soscket.
+If $tos is given, this ToS is configured into the socket.
=item $p->ping($host [, $timeout]);
@@ -1562,7 +1562,7 @@ This is disabled by default.
=item $p->tcp_service_check( { 0 | 1 } );
-Depricated method, but does the same as service_check() method.
+Deprecated method, but does the same as service_check() method.
=item $p->hires( { 0 | 1 } );
@@ -1611,7 +1611,7 @@ connection will not be established and ack() will return
undef. In list context, the host, the ack time, and the
dotted ip string will be returned instead of just the host.
If the optional $host argument is specified, the return
-value will be partaining to that host only.
+value will be pertaining to that host only.
This call simply does nothing if you are using any protocol
other than syn.
diff --git a/lib/Net/SMTP.pm b/lib/Net/SMTP.pm
index 44a955a8dd..2e410dddce 100644
--- a/lib/Net/SMTP.pm
+++ b/lib/Net/SMTP.pm
@@ -824,11 +824,11 @@ Send the QUIT command to the remote SMTP server and close the socket connection.
Net::SMTP attempts to DWIM with addresses that are passed. For
example an application might extract The From: line from an email
-and pass that to mail(). While this may work, it is not reccomended.
+and pass that to mail(). While this may work, it is not recommended.
The application should really use a module like L<Mail::Address>
to extract the mail address and pass that.
-If C<ExactAddresses> is passed to the contructor, then addresses
+If C<ExactAddresses> is passed to the constructor, then addresses
should be a valid rfc2821-quoted address, although Net::SMTP will
accept accept the address surrounded by angle brackets.