Subject: | Mixed unit role+class in same compilation scope SEGV |
$ perl -MObject::Pad -ce 'role R; method m {} class C implements R;'
Segmentation fault
$ perl -MObject::Pad -ce 'role R; method m {} class C implements R {}'
Segmentation fault
But this is OK:
$ perl -MObject::Pad -ce 'role R { method m {} } class C implements R;'
-e syntax OK
--
Paul Evans