in reply to Re^2: private recursive subroutines
in thread private recursive subroutines

I can't say I understand much how the cycle gets introduced. Anyway, does undef $fac after the usage solve it?