in reply to Nested references

Is it possible to call the anonymous block referenced by $nested_code_ref outside the anonymous block $code_ref.

No. Unless you store it in a variable where it's accessible from the outside. (Or use something evil like PadWalker, but that's considered cheating).

Perl 6 - links to (nearly) everything that is Perl 6.