If you don&#39;t require encapsulation the easiest (and most efficient) solution would be to forgo building an object to hold this data: there would be no point and there is a semi-trivial amount of overhead in doing so.<br>
<br>You could use an array instead. Perl arrays are optimized and fast (internally implemented as a C struct by the compiler), but because the implementation of Perl variables is not strongly typed (like C) they will dynamically accommodate a variety of data-types... so you&#39;d likely only need one type of container in Perl not three.
<br><br>If you need to have a ternary grouping of similar data ( and if you understand the use of anonymous data in Perl) you could use three arrays of arrays, or an array of hashes (if you&#39;d like named access to the data).
<br><br>Or maybe I don&#39;t understand your intended use of this data...<br><br><br>Montgomery Conner<br><br><br><div><span class="gmail_quote">On 9/13/07, <b class="gmail_sendername">Tim McDaniel</b> &lt;<a href="mailto:tmcd@panix.com">
tmcd@panix.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, 13 Sep 2007, Jason Bodnar &lt;<a href="mailto:jason@shakabuku.org">
jason@shakabuku.org</a>&gt; wrote:<br>&gt; <a href="http://search.cpan.org/~nwclark/perl-5.8.8/lib/Class/Struct.pm">http://search.cpan.org/~nwclark/perl-5.8.8/lib/Class/Struct.pm</a><br>&gt;<br>&gt; I&#39;ve never used it but it looks like it&#39;s part of the perl dist.
<br><br>And it&#39;s even on the ancient RedHat Linux 9 box.&nbsp;&nbsp;Thanks -- I&#39;m<br>checking it out now.<br><br>--<br>Tim McDaniel, <a href="mailto:tmcd@panix.com">tmcd@panix.com</a><br>_______________________________________________
<br>Austin mailing list<br><a href="mailto:Austin@pm.org">Austin@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/austin">http://mail.pm.org/mailman/listinfo/austin</a><br></blockquote></div><br>