Punnable

Make roles with stub-methods punnable

Usage

$ perl6 -Ilib -MPunnable -e 'role R {method r {...}}; make-punnable(R); my $or = R.new; say $or; $or.r'
R.new
Stub code executed
  in block <unit> at -e line 1

Actually thrown at:
  in block <unit> at -e line 1

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.