in reply to Archive::Zip + Aspect's "before" = core dump
#!/usr/bin/perl use strict; use warnings; use Archive::Zip; use Aspect; my $pointcut = Aspect::Pointcut::Call->new(def()); before { print STDERR "Called my function " . $_->sub_name . "\n"; } call qr/^ main::def()\w+ $/; sub def { print "abc\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Archive::Zip + Aspect's "before" = core dump
by eff_i_g (Curate) on Aug 12, 2010 at 14:15 UTC |