| 1 | package Aspect::Pointcut::Returning; | ||
| 2 | |||
| 3 | 21 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 21 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 21 | ▶ | use Carp (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 21 | ▶ | use Aspect::Pointcut (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 21 | our $VERSION = '0.97_06'; | |
| 9 | 21 | our @ISA = 'Aspect::Pointcut'; | |
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 | ###################################################################### | ||
| 16 | # Weaving Methods | ||
| 17 | |||
| 18 | # Exception pointcuts always match at weave time and should curry away | ||
| 19 | sub curry_weave { | ||
| 20 | 19 | ▶ | return; |
|
Subroutine
curry_weave: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | } | ||
| 22 | |||
| 23 | # Exception-related pointcuts do not curry. | ||
| 24 | sub curry_runtime { | ||
| 25 | 19 | ▶ | return $_[0]; |
|
Subroutine
curry_runtime: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | } | ||
| 27 | |||
| 28 | sub compile_runtime { | ||
| 29 | 19 | ▶ | "defined \$_->{exception} and not ref \$_->{exception} and \$_->{exception} eq ''"; |
|
Subroutine
compile_runtime: called CC=1 SCAR=0.0
Pod
documented
| |||
| 30 | } | ||
| 31 | |||
| 32 | 21 | 1; | |
| 33 | |||
| 34 | __END__ | ||