use warnings;
use strict;
use Archive::Zip;
use Aspect;
sub def { print 'def'; }
### Uncommenting the following = core dump.
#before { print 'abc'; } call 'main::def';
def();
####
Signal SEGV at /usr/local/lib/perl5/site_perl/5.10.0/Aspect/Advice/Before.pm line 53
Aspect::Advice::Before::_install('Aspect::Advice::Before=HASH(0x793b38)') called at /usr/local/lib/perl5/site_perl/5.10.0/Aspect/Advice.pm line 13
Aspect::Advice::new('Aspect::Advice::Before', 'code', 'CODE(0x1592a8)', 'pointcut', 'Aspect::Pointcut::Call=ARRAY(0x75f980)', 'lexical', '') called at /usr/local/lib/perl5/site_perl/5.10.0/Aspect.pm line 64
Aspect::before('CODE(0x1592a8)', 'Aspect::Pointcut::Call=ARRAY(0x75f980)') called at test.pl line 10
Abort (core dumped)
####
Watchpoint 0: $key changed:
old value: 'COMPRESSION_STORED'
new value: 'END_OF_CENTRAL_DIRECTORY_SIGNATURE_STRING'
Watchpoint 2: $value changed:
old value: 'SCALAR(0x32a2e0)'
new value: 'GLOB(0x4ec640)'
Aspect::Pointcut::match_all(/usr/local/lib/perl5/site_perl/5.10.0/Aspect/Pointcut.pm:189):
189: next if $key =~ /[^\w:]/;
DB<24>
Aspect::Pointcut::match_all(/usr/local/lib/perl5/site_perl/5.10.0/Aspect/Pointcut.pm:190):
190: next unless defined $value;
DB<24>
Aspect::Pointcut::match_all(/usr/local/lib/perl5/site_perl/5.10.0/Aspect/Pointcut.pm:191):
191: $_ = "$package\::$key";
DB<24>
Aspect::Pointcut::match_all(/usr/local/lib/perl5/site_perl/5.10.0/Aspect/Pointcut.pm:192):
192: local(*ENTRY) = $value;
DB<24>
Watchpoint 0: $key changed:
old value: 'END_OF_CENTRAL_DIRECTORY_SIGNATURE_STRING'
new value: ''
Watchpoint 1: $package changed:
old value: 'Archive::Zip'
new value: ''
Watchpoint 2: $value changed:
old value: 'GLOB(0x4ec640)'
new value: ''
Aspect::Pointcut::match_all(/usr/local/lib/perl5/5.10.0/Carp.pm:28):
28: sub longmess { goto &longmess_jmp }