```{index} single: stack_depth_hash; Storable function ``` ```{index} single: Storable::stack_depth_hash; Perl function ``` # stack_depth_hash Return the current hash-specific recursion limit used while freezing and thawing. ## Synopsis ```perl use Storable; my $d = Storable::stack_depth_hash(); ``` ## What you get back The integer value of `$Storable::recursion_limit_hash`. This is a separate ceiling for hash nesting, defaulting to `256`. Assigning to `$Storable::recursion_limit_hash` changes what the next call returns. ## Edge cases - Independent of the scalar limit returned by `stack_depth`. Raising one does not raise the other. ## Differences from upstream Fully compatible with upstream. Pinned by `t/81-xs-native/Storable/240-stack-depth.t`. ## See also - `stack_depth` — scalar recursion limit. - `freeze` / `thaw` — the consumers of this limit.