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.