Skip Menu |

This queue is for tickets about the SNA-Network CPAN distribution.

Report information
The Basics
Id: 100384
Status: resolved
Priority: 0/
Queue: SNA-Network

People
Owner: OBRADOVIC [...] cpan.org
Requestors: d_paque12 [...] cs.uni-kl.de
Cc:
AdminCc:

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



Subject: SNA::Network->communities
Date: Sun, 16 Nov 2014 14:37:51 +0100
To: bug-SNA-Network [...] rt.cpan.org
From: Daniel PaquƩ <d_paque12 [...] cs.uni-kl.de>
Hey, the documentation for SNA::Network->communities says: "Return a list of ... If no such algorithm was executed, returns |undef|." It seems that the latter case does not work. Code: #!/usr/bin/perl use strict; use warnings; use SNA::Network; my $net = SNA::Network->new_from_pajek_net('network.net'); my $list = $net->communities; Output: Can't use an undefined value as an ARRAY reference at C:/Strawberry/perl/site/lib/SNA/Network.pm line 312. Configuration: Windows, Strawberry Perl (64-bit) 5.20.1.1-64bit Regards, Daniel PaquƩ