PS: In between, I think 'variable' is too long, so: $code =~ s/variable/vari/g;
IMHO C<vari> is better than C<var> because C<var> doesn't look like a special thing, but it is. I feel that the most usual cases for read/write would be better readable with that approach. Instead of C<$res=funcy($foo is rw);> it would be C<$res=funcy(vari $foo);> And instead of C<has $.value is rw;> it would be C<has vari $.value;> The question is probably if the writeability is a trait like other traits and should therefore be written in the C<is ...> form or is it so special, that a second delararator is appropriate. The second declararator has the advantage that the very important information of exceptional write-protection or exceptional write-access stands on the left side, as it should be. Kind Regards Stefan --------------------------------- Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta.