It seems to be doable by source filters. And how about Perl 6? Will it be possible in Perl 6?
That retrofitting is sucha a great idea! Those getter, setter methods clutter so much the code while usually they don't add any new logic. The only reason for them is future compatibillity.
Comment on Re: Re: Re: Re: Re: Re: This is why I use Perl
It will almost definitely work in Perl6. IIRC object attributes were slated to be accessibly by the dot operator on the object instance, which is the same way methods are called. But we'll have to wait for A12 for a definite answer.