it would help to see the code of the actual tied module. a wild guess is
that you have a wierd off by one error. $#foo = 8 is going to create an
array with 9 elements. the $size = @foo is returning the value 10 so you
are off by one there. maybe in your module code you aren't compensating
for the fact that $#foo + 1 == @foo (ignoring the stupid $[).

and for sure the bug is in the module code as the main code is simple
enough.

uri

-- 
Uri Guttman  ------  [EMAIL PROTECTED]  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to