|go ahead... be a heretic|
(Answers) Re: Barstool Triviaby dchetlin (Friar)
|on Dec 25, 2000 at 06:05 UTC||Need Help??|
Oops, sorry about that. I'd given the answer in a /msg and totally forgotten that I hadn't given it in a node.
Recall that this is a fairly ambiguous question, and that my answer really just reveals what the source considers to be different scopes.
That answer is found in cop.h, line 360 as of recent perls.
OK, the easy ones first
That leaves three: CXt_NULL, CXt_SUBST, and CXt_FORMAT. You can probably guess what CXt_SUBST and CXt_FORMAT do, even though the fact that they start new scopes may be surprising.
There's s/// creating a new scope. Here's format:
OK, so what does that leave us with? CXt_NULL. CXt_NULL is the block passed to `sort', strangely enough. It's also referred to as a pseudo-block throughout the source.