Re: "tables" in Perl

2004-02-21 Thread Rob Dixon
Anthony Vanelverdinghe wrote:
>
> is Java you can do the following:
>
> int[][] table=new int[4][3];
> int i=table[2][2];
>
> is there also something like this in Perl??

  my @table;
  my $i = $table[2][2];

But be careful because the implementation is different.
It depends on what you're doing whether you need to know
any more. I suggest you read

  perldoc perldata

HTH,

Rob





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




"tables" in Perl

2004-02-21 Thread Anthony Vanelverdinghe
Hi

is Java you can do the following:

int[][] table=new int[4][3];
int i=table[2][2];
is there also something like this in Perl??

Thanks!!

_
Online shoppen, niets zo makkelijk http://www.msn.be/shopping
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]