Skip to content

Commit

Permalink
Apply patch from cognominal++ to implement Capture.perl.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 19, 2010
1 parent dd6bda0 commit 406d85f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/Makefile.in
Expand Up @@ -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 \

Expand Down
5 changes: 5 additions & 0 deletions src/core/Capture.pm
@@ -0,0 +1,5 @@
augment class Capture {
method perl {
'\(' ~ join(', ', @(self)>>.perl, %(self)>>.perl ) ~ ')'
}
}

0 comments on commit 406d85f

Please sign in to comment.