Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Check spelling in perl source code.

by davies (Parson)
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.


John Davies

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056007]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2017-08-21 01:56 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (317 votes). Check out past polls.