Date: | Mon, 28 Mar 2005 12:59:47 -0500 |
From: | Mark Stosberg <mark [...] summersault.com> |
To: | Andy Lester <andy [...] petdance.com> |
Subject: | doc patch for Test::Memory::Cycle.pm |
Andy,
From the use of the word 'object' in Test::Memory::Cycle, it appears
that it may only work on Perl objects. My initial research indicates
that any reference will do.
The below patch clarifies that.
Thanks for the module! I've got a memory link in a cron script I need to find.
Mark
########
--- Cycle.pm.orig Mon Mar 28 12:56:15 2005
+++ Cycle.pm Mon Mar 28 12:56:46 2005
@@ -63,9 +63,9 @@
=head1 FUNCTIONS
-=head2 C<memory_cycle_ok( I<$object>, I<$msg> )>
+=head2 C<memory_cycle_ok( I<$ref>, I<$msg> )>
-Checks that I<$object> doesn't have any circular memory references.
+Checks that I<$ref> doesn't have any circular memory references.
=cut
@@ -105,9 +105,9 @@
} # memory_cycle_ok
-=head2 C<memory_cycle_exists( I<$object>, I<$msg> )>
+=head2 C<memory_cycle_exists( I<$ref>, I<$msg> )>
-Checks that I<$object> B<does> have any circular memory references.
+Checks that I<$ref> B<does> have any circular memory references.
=cut