about summary refs log tree commit
diff options
context:
space:
mode:
authorMichael Stevens <mstevens@etla.org>2011-01-19 11:03:47 +0000
committerGraham Barr <gbarr@pobox.com>2013-02-18 13:55:22 -0600
commit80c5cbf48e2ceec181aa2116401ec96873a18d0f (patch)
tree4eac03d373bca01ed83d4afe6d57b78cc021abf7
parent40c02a00a682a326dee3602f094e8a79d3c2e6a1 (diff)
downloadperl-libnet-80c5cbf48e2ceec181aa2116401ec96873a18d0f.tar.gz
Document that Net::Cmd::message returns a list in list contenxt
-rw-r--r--Net/Cmd.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Net/Cmd.pm b/Net/Cmd.pm
index 727b677..1acf822 100644
--- a/Net/Cmd.pm
+++ b/Net/Cmd.pm
@@ -657,7 +657,9 @@ debug level for a given class.
 
 =item message ()
 
-Returns the text message returned from the last command
+Returns the text message returned from the last command. In a scalar
+context it returns a single string, in a list context it will return
+each line as a separate element
 
 =item code ()