object_2svref#

Return a Perl reference back to the SV wrapped by a B::* object.

Synopsis#

my $b   = B::svref_2object(\$x);
my $ref = $b->object_2svref;   # same as \$x

Inverse of B::svref_2object. Useful when a back-end has descended into a sub-structure via B::* methods and needs a plain Perl reference to the SV it’s now looking at.