Ref::Util: more than you ever wanted to know about ref()

60 minutes



We all use ref($foo) eq $ref_type. It has two use-cases and it sucks for both.

I wrote Ref::Util to address this. It's implemented in XS and as an op-code.

In this talk I'll explain why ref() is wrong, what Ref::Util does, how it works, and cover both how it's written in both XS and in interpreter op-codes.

We'll delve into internal Perl data types, XS, and operators.