in reply to Re: Finding number of 'k'-clique in a graph
in thread Finding number of 'k'-clique in a graph
into an array, with this snippet you've given5 6 9 2 3 4 1 3 4 1 2 4 1 2 3
because when I used:$regex .= '(?{ print join(" ", map $$_, 1..$k), "\\n" })(?!)'; $string =~ /$regex/x;
doesn't seems to work.push @string, $string;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Did it! - Storing cliques in array
by monkfan (Curate) on Sep 28, 2004 at 03:48 UTC |