Skip Menu |

This queue is for tickets about the Array-Transpose CPAN distribution.

Report information
The Basics
Id: 89202
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Array-Transpose

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

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



Subject: Transpose empty list
The empty array () is a valid two-dimensional array but transposing it gives an error: my @a = (); my @b = transpose \@a; Can't use an undefined value as an ARRAY reference at /usr/local/share/perl5/Array/Transpose.pm line 84. The transpose of () is () and that should be returned.
On Wed Oct 02 11:30:33 2013, EDAVIS wrote: Show quoted text
> The empty array () is a valid two-dimensional array but transposing it > gives an error: > > The transpose of () is () and that should be returned.
This case is now supported in version 0.06.