tom arnall wrote: : Whatever happened to good old: : : my (@data,$result);
Why declare these ... : @number = (1,2,3); : $sum = 0; And then use these? Go ahead. Hit yourself upside the head. :) Yet another reason to declare variables only as they are first used. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 Don't tread on my bandwidth. Trim your posts. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>