You just wait...

$ perl -MMyMath -e 'print MyMath::factorial(1256), "\n"'
Deep recursion on subroutine "MyMath::factorial" at MyMath.pm line 25.
inf