> $cached{$self} += shift; You might also save time using exists $cached{$item} instead of checking the value: saves you from actually having to retrieve any data from the hash. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508