Author: Whiteknight Date: Sat Oct 18 07:21:18 2008 New Revision: 32010 Modified: trunk/docs/pdds/pdd20_lexical_vars.pod
Log: [PDDs] Codingstd fix on PDD20, fixing very long lines. Modified: trunk/docs/pdds/pdd20_lexical_vars.pod ============================================================================== --- trunk/docs/pdds/pdd20_lexical_vars.pod (original) +++ trunk/docs/pdds/pdd20_lexical_vars.pod Sat Oct 18 07:21:18 2008 @@ -350,8 +350,8 @@ Here, C<$P1> contains information on the current subroutine. C<$P2> will contain C<$P1>'s outer subroutine. -To get C<$P2>'s outer subroutine (if any), the same method can be used on C<$P2> -itself: +To get C<$P2>'s outer subroutine (if any), the same method can be used on +C<$P2> itself: $P3 = $P2."get_outer"() @@ -360,7 +360,8 @@ $P0 = getinterp $P1 = $P0["outer"; "sub"] - $P2 = $P0["outer"; "sub"; 2] # get the outer sub of the current's outer subroutine + $P2 = $P0["outer"; "sub"; 2] # get the outer sub of the current's outer + # subroutine It is also possible to get the C<:outer> sub's LexPad, as above: