in reply to how can I group those links together?
#!/usr/bin/perl use warnings; use strict; use Graph; my @links = (qw( A C C E D C L G J K O P I M L K )); my $g = 'Graph::Undirected'->new; $g->add_edge(splice @links, 0, 2) while @links; print "@$_\n" for $g->connected_components;
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how can I group those links together?
by plagent (Novice) on Dec 04, 2015 at 07:51 UTC |