Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Check spelling in perl source code.

by davies (Vicar)
on Sep 27, 2013 at 15:36 UTC ( #1056007=note: print w/ replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056007]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-09-17 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (100 votes), past polls