This just needs a simple patch to replace "if defined @" with "if @" (see patch in linked bug) Otherwise you get: http://www.cpantesters.org/cpan/report/d8649780-06fe-11e5-bab8-57e8dfbfc7aa Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ../blib/lib/Devel/SmallProf.pm line 35.
Created attachment 407020 [details] Devel-SmallProf-2.20.0-r2.ebuild
Created attachment 407022 [details, diff] 0001-Don-t-use-defined-array.patch
committed