Subject: | Excessive recursion warnings |
Creating a simple IPv6 trie and calling traverse() using the depth_first search results in the following warning:
Deep recursion on subroutine "Net::IPTrie::_depth_first" at /usr/share/perl5/Net/IPTrie.pm line 352.
In one case, I counted the number of recursions made to the _depth_first subroutine and it totalled 2176
in my trie.
If this level of recursion is intentional, the warning could be suppressed in the module's head with
--
no warnings 'recursion';
following :
use warnings;
--