in reply to Check spelling in perl source code.

Code to get the subs and variables in a package is simple. Introspection, strict, warnings and "defined" shows my attempt. The fuzzy matching is a different matter. The only thing I can think of is to produce a list of possible separators & then loop through the names, eliminating the separators. Then you could search for duplicates. This wouldn't help, though, if one developer is using SetAttribute and the other is looking for AttributeSet. I can't see how to deal with that.

Regards,

John Davies

  • Comment on Re: Check spelling in perl source code.