--- several lines stripped out --- > > # everything works well up to here !!!!!!!! > > # what i want to do is loop through the sorted unique part numbers array > and print out all the array elements in @all_of_them that have a part > number that matches that unique value. i then move onto the next unique > part number and do the same thing > > foreach $temp1 (@unique_part_nbrs) { > for ($ctr = 0 ; $ctr < (scalar(@all_of_them)) ; $ctr++) { > print if ($all_of_them[$ctr][3] eq $temp1) ; > } > } > > # error message is : "can't use string ("03/06/1997 sold 1000 widget1 0.230 > 0.00") as an ARRAY ref while "strict refs" in use at line 33" > > note that the line number isn't accurate here because this isn't an exact > listing of the program. > > suggestions? > > thanks > > joe
just a short followup : this is line 33 in the actual program listing > for ($ctr = 0 ; $ctr < (scalar(@all_of_them)) ; $ctr++) { -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>