Search code examples
perloptimizationsubroutinemason

Perl: show used subroutines


In some project ( Mason ) there is a lot of perl modules (> 200). Really used only 5-10% from this code. How i can look, which subroutines is used (or unused)?


Solution

  • In addition to choroba's link, you can use a profiler to show what subroutines are called (how many times and how long they took):