From 80c5cbf48e2ceec181aa2116401ec96873a18d0f Mon Sep 17 00:00:00 2001 From: Michael Stevens Date: Wed, 19 Jan 2011 11:03:47 +0000 Subject: Document that Net::Cmd::message returns a list in list contenxt --- Net/Cmd.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 () -- cgit v1.2.3-24-ge0c7