in reply to Data::Table and join
Good luck - and thanks for bringing Data::Table in sight, seems a nice module to play with that I didn't know so far.#!/usr/bin/perl use strict; use warnings; use Data::Table; my $t1 = new Data::Table( [ [ 1, 2, 3 ], [ 10, 20, 30 ] ], [ 'A', + 'B' ], 1 ); my $t2 = new Data::Table( [ [ 1, 2, 3 ,4], [ 11, 22, 33,44 ] ], [ 'C', + 'D' ], 1 ); print $t1->csv; print "-------\n"; print $t2->csv; print "-------\n"; my $t3 = $t1->join( $t2, 3, ["A"],["C"] ); print $t3->csv; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Data::Table and join
by GertMT (Hermit) on Oct 18, 2007 at 08:54 UTC | |
|
Re^2: Data::Table and join
by Anonymous Monk on Sep 14, 2011 at 20:01 UTC |