- Timestamp:
- 06/22/08 15:07:42 (5 months ago)
- Location:
- dan/perl/PL_check/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dan/perl/PL_check/trunk/hack.xs
r14302 r14411 5 5 #include "XSUB.h" 6 6 7 #include "ppport.h" 8 9 OP * next_hack_ppaddr(pTHX) { 10 PerlIO_printf(PerlIO_stderr(), "next_hack_ppaddr\n"); 11 return PL_ppaddr[OP_NEXT](aTHXR); 12 } 7 13 8 14 static OP *(*hack_old_enterloop)(pTHX_ OP *op) = NULL; … … 32 38 OP * hack_next(pTHX_ OP *o) { 33 39 PerlIO_printf(PerlIO_stderr(), "hack_next\n"); 40 o->op_ppaddr = next_hack_ppaddr; 34 41 return CALL_FPTR(hack_old_next)(aTHX_ o); 35 42 } -
dan/perl/PL_check/trunk/test.pl
r14302 r14411 17 17 18 18 19 exit; 19 #exit; 20 warn "running"; 20 21 21 22 so; 22 23 BEGIN { warn "My->new" } 23 24 my $obj = My->new; 24 $obj->hoge;25 #$obj->hoge; 25 26 26 27 while (1) { … … 29 30 30 31 for (1..2) { 32 warn "for loop in"; 31 33 next; 34 warn "for after next"; 32 35 } 36 warn "for end"; 33 37 34 38 for (1..2) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)