stack_depth_hash#

Return the current hash-specific recursion limit used while freezing and thawing.

תקציר#

use Storable;
my $d = Storable::stack_depth_hash();

מה מוחזר#

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.

מקרי קצה#

  • Independent of the scalar limit returned by stack_depth. Raising one does not raise the other.

הבדלים מן ה-upstream#

Fully compatible with upstream. Pinned by t/81-xs-native/Storable/240-stack-depth.t.

ראו גם#

  • stack_depth - scalar recursion limit.

  • freeze / thaw - the consumers of this limit.