On Wed, 2005-11-30 at 00:29 -0500, Ronald J Kimball wrote: > On Wed, Nov 30, 2005 at 12:24:47AM -0500, Federico Lucifredi wrote: > > On Wed, 2005-11-30 at 00:13 -0500, Ron Newman wrote: > > > > humm, that would give me a single element in $indices[0] equal to > > "0000", while what we really want is @indices[0..3] = (0,0,0,0)... > > except, of $maxlen length :) > > > > > my @indices = 0 x $maxlen; > > That should be: > > my @indices = (0) x $maxlen;
Thanks Ron -- that works, but I don;t understand it... I thought x could be used only on quoted literals, I guess I was wrong there. On top of that, (0) x 4 should yield (0) (0) (0) (0) ... and generate a list of lists - or should it ? best -f _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

