Devel-FindRef

 view release on metacpan or  search on metacpan

FindRef.pm  view on Meta::CPAN

return a descriptive string. C<$ref> can point at any perl value, be it
anonymous sub, hash, array, scalar etc.

This is the function you most likely want to use when tracking down
references.

=cut

sub find($);

sub _f($) {
   "$_[0] [refcount " . (_refcnt $_[0]) . "]"
}

sub track {
   my ($ref, $depth) = @_;
   @_ = ();

   my $buf = "";
   my %seen;



( run in 2.095 seconds using v1.01-cache-2.11-cpan-5b529ec07f3 )