-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
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
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