TITLE ^

Code - Perl 6 Code class

DESCRIPTION ^

This file sets up the Perl 6 Code class, the base class for executable objects.

ACCEPTS(topic)
REJECTS(topic)
perl()
Return a response to .perl.
signature()
Gets the signature for the block, or returns Failure if it lacks one.
assumming()
Returns a curried version of self.
!invoke
Currently we don't have an easy way to distinguish Regex objects from other types of Code objects, and so we have to resort to some out-of-band mucking with PGE to get it to build Match objects. That's the purpose of this method -- to set and restore the type of match object that PGE regexes will create, without interfering with the behavior of "normal" subs.


parrot