Re: Simple table problem

2003-12-03 Thread Gerald Richter
> > This can be done with $maxcol and $cnt, I have not tested but try > this: > This works with 1.3... > > [- > @array = qw/1 2 3 4 5 6 7 8 9 10/; > $maxcol = 4; > -] > > > [+ $array[$cnt] +] > > 2.0 doesn't support $cnt yet, here write instead the following to get the same res

Re: Simple table problem

2003-12-03 Thread Luiz Fernando B. Ribeiro
On 03 Dec 2003 17:15:57 +1100, Pete Moran <[EMAIL PROTECTED]> wrote: I know this is a really simple problem - and can be fixed using if statements etc - but wanted to know if there was a standard way of doing this. Simply say I have a array @array = qw/1 2 3 4 5 6 7 8 9 10/; And I want to create

Simple table problem

2003-12-02 Thread Pete Moran
I know this is a really simple problem - and can be fixed using if statements etc - but wanted to know if there was a standard way of doing this. Simply say I have a array @array = qw/1 2 3 4 5 6 7 8 9 10/; And I want to create a dynamic table of this data - BUT I want to have a fixed column len