in reply to Pair-Wise Clustering
That doesn't explain what kind of structure you want. Create sample data structure you want, and print it with Dumper, example
Data Types and Variables, References quick reference#!/usr/bin/perl -- use strict; use warnings; use Data::Dumper; my( @cluster_60 ) = ( { 3 => 4 }, { 2 => 8 }, {}, {}, { 1 => 5 }, ); $cluster_60[2]{hot} = 'dog'; print Dumper( \@cluster_60); __END__ $VAR1 = [ { '3' => 4 }, { '2' => 8 }, { 'hot' => 'dog' }, {}, { '1' => 5 } ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pair-Wise Clustering
by cutcopy11 (Initiate) on Oct 01, 2009 at 01:13 UTC | |
by Anonymous Monk on Oct 01, 2009 at 01:48 UTC | |
by cutcopy11 (Initiate) on Oct 01, 2009 at 03:58 UTC |