Skip Menu |

This queue is for tickets about the libnet CPAN distribution.

Report information
The Basics
Id: 83364
Status: resolved
Priority: 0/
Queue: libnet

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::Cmd message() document array context behaviour
Date: Sat, 16 Feb 2013 11:49:04 +1100
To: bug-libnet [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Nosing around the code I see that Net::Cmd message() returns a list of strings in array context. It'd be good if that was documented. From the existing wording message () Returns the text message returned from the last command I thought it was a single string, and mistakenly used it an array context where I wanted a single string, foo (x => $x, msg => $ftp->message, y => $y);
Te pod will be updates in the next release See, https://github.com/gbarr/perl- libnet/commit/80c5cbf48e2ceec181aa2116401ec96873a18d0f