If you don'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'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'd like named access to the data).
<br><br>Or maybe I don'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> <<a href="mailto:tmcd@panix.com">
tmcd@panix.com</a>> 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 <<a href="mailto:jason@shakabuku.org">
jason@shakabuku.org</a>> wrote:<br>> <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>><br>> I've never used it but it looks like it's part of the perl dist.
<br><br>And it's even on the ancient RedHat Linux 9 box. Thanks -- I'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>