background for my problem

Peter Scott peter at PSDT.com
Fri Sep 20 15:42:25 CDT 2002


At 11:59 PM 9/19/02 -0700, nkuipers wrote:
>Initially, I had planned the following,
>which uses several levels of nested, anonymous structures to fully annotate
>each cluster:
>
>HASH: { clust_id => ARRAY: [ STRING: clust_seq,
>                                      HASH: { frame => CSV: stop 
> positions, 
 },
>                                      HASH: { rep_seq => CSV: positions, 
 }
>    ] , 

>   }
>
>It’s nicely organized in theory but a total nightmare to build, access
>piecemeal, and pass around to subroutines for iterating etc.; the 
>Data::Dumper
>module may be a viable tool for accessing the whole structure.

What this says to me is that you need to take the next step to turn 
this into an object-oriented application so you can encapsulate 
behaviour behind method calls.  Then you'll be able to change internal 
representations transparently if you've done the decomposition right.

--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/




More information about the Victoria-pm mailing list