in reply to Re^2: Perl closures: internal details.
in thread Perl closures: internal details.(Updated)

Well, it does both :) the pad (lexpad, lexical pad) is attached to the CV ( Code Value, subroutine ), each scope creates a new pad ... maybe that is not gutsy enough, but http://search.cpan.org/dist/illguts/index.html elaborates more on the structure of the guts -- or were you looking for something different?

Replies are listed 'Best First'.
Re^4: Perl closures: internal details.
by BrowserUk (Pope) on Apr 12, 2012 at 13:45 UTC

    Thanks. That version has moved on considerably to the version I have had bookmarked;

    It is still a little light on words, but the picture's probably worth its thousand.

    I guess I need to look again at B & PadWalker. I've steadfastly refused to look at these seriously till now.

    I did take a peek under their bonnets and was discretely valorous in my conclusion that I didn't need to know. I guess that changed :(


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?