Shawn H Corey

Authored Comments

You can have private subs inside blocks.

{
local *foo = sub { print "in foo\n"; };

# this works
foo();
}

# this does not work
foo();

"What gets measured, get improved." -- John Gall, The Systems Bible

Be careful what you choose for metrics; they will determine where your developers put most of their efforts. For example, choosing lines of code as a metrics means they will produce lots of code but they will not take the time to reduce bugs.