RE: Help with program

2004-10-12 Thread Thomas, Mark - BLS CTR
Tom Pollard wrote: > (3) the number of items in @pts is length(@pts), or scalar(@pts), > or 1+$#pts, but not $#pts. You're 2 for 3. length() is for scalars, not arrays. - Mark. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: ht

Re: Help with program

2004-10-11 Thread Tom Pollard
On Sun, 10 Oct 2004, James wrote: > I am writing a program to read from an input file and > verify or not if the Quantity equal to the number of > parts. The problem is some of the parts can be in 2 or > 3 lines. Fromthe data file, the quantity match the > number of parts but I cannot find the logi