Re: Tables help

2001-06-06 Thread Ray Barker
-Original Message- From: Diego Riaño <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: June 06, 2001 9:15 PM Subject: Tables help >Hi everybody > >I am working on some kind of files and i have to change the format and >get a table. > >the

Re: Tables help

2001-06-06 Thread Gary Stainburn
Hiya, sounds like a prime example of a hash of arrays. You would have a hash for record types - 'c1' 'c2' etc., with each hash element being a reference to an array. The code below is not very good, but should give you an idea __BEGIN__ #!/usr/bin/perl -w use strict; my %cols=(); my $maxl

Tables help

2001-06-06 Thread Diego Riaño
Hi everybody I am working on some kind of files and i have to change the format and get a table. thes files had the following form: c1 kdlsakdlksa c2 djskadklsa c2 djksadlsadaskdj c3 dskadjlkj c4 dksadkasdljsa I will to chenge them to this: c1c2 c3