On Tue, Nov 07, 2006 at 08:11:58PM -0500, Patrick LeBoutillier wrote: > Jay, > > To Perl, a Vector is just a regular Java object. You can manipulate it using > that same API as in Java: [snip] > my $v = test->v() ; > print $v->get(0) . "\n" ; > print $v->get(1) . "\n" ; > $v->add("perl") ; > print $v->get(2) . "\n" ; Not very Perlish - if Jay needed to do a lot of vector accessing, maybe he could tie it to a list? http://perldoc.perl.org/perltie.html
Miles -- Programs that write programs are the happiest programs in the world. -- Andrew Hume