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

Owner: OBRADOVIC [...]
Requestors: d_paque12 [...]

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 [...]
From: Daniel Paqué <d_paque12 [...]>
Download (untitled) / with headers
text/plain 548b
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(''); my $list = $net->communities; Output: Can't use an undefined value as an ARRAY reference at C:/Strawberry/perl/site/lib/SNA/ line 312. Configuration: Windows, Strawberry Perl (64-bit) Regards, Daniel Paqué

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to