Thanks for your answer. Therefore I have taken a look on website but for me 
it's hard. 
I don't know how to use rcols.

Thanks


-----Original Message-----
From: Chris Marshall [mailto:[email protected]] 
Sent: mercredi 13 novembre 2013 14:07
To: POIRIER Regis
Cc: [email protected]
Subject: Re: [Perldl] Memory overflow

rcols might be appropriate for your problem.

See http://pdl.perl.org for more information on PDL.

The PDL Book has some good coverage on what can be done with PDL.

-chm

On Wed, Nov 13, 2013 at 3:16 AM, POIRIER Regis <[email protected]> wrote:
> Dear all
>
>  I'm dummy in perl.
>
> I would like to load a two dimensional table with a scalar table (this table 
> contain split string line by line ) from a file.
>
> It's working with this way but it's take lot of memory and it's stop with 
> memory overflow.
>
> I would like to use (DBM or PDL module instead but I'm not convenient 
> with that.)
>
> $vector_table[$stringlength][$vectors+1]=0;
> $int=0;$int1=0;
> my @indexed_vector;
>
>                 while ($int != $customvector)
>                  {
>                         @indexed_vector=split(//,@AVCOUT[$int]);
>                         $int1=0;
>                         while ($int1 != $stringlength)          {
>                                  $vector_table[$int1][$int] = 
> (@indexed_vector[$int1]);
>                                 $int1++;}
>                 $int++; }
> Best regards

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to