in reply to Re: Why does this even compile?
in thread Why does this even compile?

Yes I do. It shows what Perl makes of it, but still it makes no sense. Why does perl treat a code block as if it was a package/object reference?

Replies are listed 'Best First'.
Re: Re: Re: Why does this even compile?
by chromatic (Archbishop) on Sep 20, 2003 at 17:04 UTC

    It's not treating the block as if it were a package name or object. It's treating the block as if it returned a package name or an object.