Devel::Cycle 1.07
Sponsored Links
Devel::Cycle 1.07 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
841
Date added:
2007-07-05
Publisher:
Lincoln Stein
Devel::Cycle 1.07 description
Devel::Cycle is a Perl module that helps you to find memory cycles in objects.
SYNOPSIS
#!/usr/bin/perl
use Devel::Cycle;
my $test = {fred => [qw(a b c d e)],
ethel => [qw(1 2 3 4 5)],
george => {martha => 23,
agnes => 19}
};
$test->{george}{phyllis} = $test;
$test->{fred}[3] = $test->{george};
$test->{george}{mary} = $test->{fred};
find_cycle($test);
exit 0;
# output:
Cycle (1):
$A->{george} => %B
$B->{phyllis} => %A
Cycle (2):
$A->{george} => %B
$B->{mary} => @A
$A->[3] => %B
Cycle (3):
$A->{fred} => @A
$A->[3] => %B
$B->{phyllis} => %A
Cycle (4):
$A->{fred} => @A
$A->[3] => %B
$B->{mary} => @A
# you can also check weakened references
weaken($test->{george}->{phyllis});
find_weakened_cycle($test);
exit 0;
# output:
Cycle (1):
$A->{george} => %B
$B->{mary} => @C
$C->[3] => %B
Cycle (2):
$A->{george} => %B
w-> $B->{phyllis} => %A
Cycle (3):
$A->{fred} => @C
$C->[3] => %B
$B->{mary} => @C
Cycle (4):
$A->{fred} => @C
$C->[3] => %B
w-> $B->{phyllis} => %A
SYNOPSIS
#!/usr/bin/perl
use Devel::Cycle;
my $test = {fred => [qw(a b c d e)],
ethel => [qw(1 2 3 4 5)],
george => {martha => 23,
agnes => 19}
};
$test->{george}{phyllis} = $test;
$test->{fred}[3] = $test->{george};
$test->{george}{mary} = $test->{fred};
find_cycle($test);
exit 0;
# output:
Cycle (1):
$A->{george} => %B
$B->{phyllis} => %A
Cycle (2):
$A->{george} => %B
$B->{mary} => @A
$A->[3] => %B
Cycle (3):
$A->{fred} => @A
$A->[3] => %B
$B->{phyllis} => %A
Cycle (4):
$A->{fred} => @A
$A->[3] => %B
$B->{mary} => @A
# you can also check weakened references
weaken($test->{george}->{phyllis});
find_weakened_cycle($test);
exit 0;
# output:
Cycle (1):
$A->{george} => %B
$B->{mary} => @C
$C->[3] => %B
Cycle (2):
$A->{george} => %B
w-> $B->{phyllis} => %A
Cycle (3):
$A->{fred} => @C
$C->[3] => %B
$B->{mary} => @C
Cycle (4):
$A->{fred} => @C
$C->[3] => %B
w-> $B->{phyllis} => %A
Devel::Cycle 1.07 Screenshot
Devel::Cycle 1.07 Keywords
Cycle 1.07
to find
Perl module
b
A-
3
cycle
George
Fred
Devel::Cycle
DevelCycle
Devel::Cycle 1.07
Libraries
Programming
Bookmark Devel::Cycle 1.07
Devel::Cycle 1.07 Copyright
WareSeeker periodically updates pricing and software information of Devel::Cycle 1.07 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Devel::Cycle 1.07 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Devel::CallerItem is an Perl object representing a function call from the stack of function calls. Free Download
Devel::Profile is a Perl module to tell me why my perl program runs so slowly. Free Download
Devel::Leak is a utility for looking for perl objects that are not reclaimed. Free Download
Devel::TraceLoad is a Perl module to trace loadings of Perl Programs. Free Download
Devel::Backtrace is a Perl module for object-oriented backtrace. Free Download
Devel::Pointer is a Perl module that can fiddle around with pointers. Free Download
Devel::TraceMethods is a Perl module for tracing module calls. Free Download
Glib::devel - binding developers overview of Glibs internals Free Download
Latest Software
Popular Software
Favourite Software