Nice reply, but there are a few things I would do differently. Consider this another "[p]ick whichever you like most" post.
# your number 1 uses "if (not ...)" # which is equivalent to "unless (...)" # 4 unless (exists $sheets{$machine_sheetname}) { $sheets{$machine_sheetname} = 1; } # but I'm not really sure why you're checking for existence at all. # just incrementing the value is the simplest approach. # 5 $sheets{$machine_sheetname}++;
In reply to Re^2: Looking for exact match in an array
by revdiablo
in thread Looking for exact match in an array
by juo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |