4
use Sereal::Encoder qw(encode_sereal);
7
use lib File::Spec->catdir(qw(t lib));
15
my $recur_depth = 1000;
18
$pos = $pos->[0] = [] for 1..$recur_depth-1;
20
my $out = encode_sereal($ref, {max_recursion_depth => $recur_depth+1});
22
my $no_exception = eval {
23
$out = encode_sereal($ref, {max_recursion_depth => $recur_depth-1});
29
note("All done folks!");