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