Elixir では末尾再帰で最適化されるけど、
Perl では出来ないの?