in reply to Re^4: lexicaly scoped export of variables? (macro)
in thread lexicaly scoped export of variables?

Here's something pretty close to macros... the parsing is a little fragile, but it's OKish.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
  • Comment on Re^5: lexicaly scoped export of variables? (macro)