diff --git a/build/Makefile.in b/build/Makefile.in index dd84c6763d0..74cfcc64726 100644 --- a/build/Makefile.in +++ b/build/Makefile.in @@ -226,6 +226,7 @@ CORE_SOURCES = \ src/core/Attribute.pm \ src/core/CallFrame.pm \ src/core/LexPad.pm \ + src/core/Capture.pm \ src/core/MAIN.pm \ src/core/YOU_ARE_HERE.pm \ diff --git a/src/core/Capture.pm b/src/core/Capture.pm new file mode 100644 index 00000000000..7b94d78d435 --- /dev/null +++ b/src/core/Capture.pm @@ -0,0 +1,5 @@ +augment class Capture { + method perl { + '\(' ~ join(', ', @(self)>>.perl, %(self)>>.perl ) ~ ')' + } +}