* Chris Dolan <[EMAIL PROTECTED]> [2005-10-05 12:20]: > Things that PPI/Perl::Critic could judge that might lead to > quantitative, non-controversial metrics:
Pretty good suggests, but I think the following may have to be lessened: > * what's the ratio of globals to subroutines? (smaller is better) Does that include file-scoped lexicals? ’Cause in that case I disagree – I’m just overhauling a module, in which process I’m also moving it to inside-out object style, and so I’ve got about 20 file-scoped lexical hashes. But that doesn’t at all mean the code is really full of globals. Regards, -- #Aristotle *AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1}; &Just->another->Perl->hacker;