develooper Front page | perl.perl5.porters | Postings from April 2020

SV hash key from Perl?

From:
Felipe Gasper
Date:
April 25, 2020 18:54
Subject:
SV hash key from Perl?
Message ID:
F671F9C1-3E9C-465C-97C5-5F7CE25BA32A@felipegasper.com
Hello,

	Can any pure Perl code achieve a state where a hash entry’s key is an SV rather than a string? (i.e., where HeSVKEY(he) gives non-NULL)

	I’m trying to test CBOR::Free’s handling of such cases.

	Thank you!

-Felipe


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About