perl5 icon indicating copy to clipboard operation
perl5 copied to clipboard

hv.c: Macro to check an HV as being %ENV hash

Open leonerd opened this issue 9 months ago • 14 comments

Previous code would invoke an entire mg_find() call just to check if the given HV happens to have PERL_MAGIC_env. This hardcodes knowledge of the PERL_MAGIC_env type in a lot of places that don't really care about it.

leonerd avatar Mar 05 '25 17:03 leonerd