- or download this
package Top;
...
my $top = Top->new();
find_cycle( $top );
- or download this
Cycle (1):
$Top::A->{'bottom'} => \%Bottom::B
$Bottom::B->{'top'} => \%Top::A
- or download this
local $| = 1;
for( 1...1_000_000 )
...
print "\r$_/1000000";
my $top = Top->new();
}
- or download this
package Top;
use Scalar::Util 'weaken';
...
my $top = Top->new();
my $bottom = $top->{bottom} or die "NO BOTTOM!";