Re: Relief for rw/ro

2007-02-22 Thread Dr.Ruud
Steve Lukas schreef: > In between, I think 'variable' is too long, so: > $code =~ s/variable/vari/g; I don't think it is too long, since most of the times you don't need to mention it. Could 'rw' be an alias? my rw @heredoc_stubs is context = (); my @heredoc_stubs is rw context = (); my

Re: Relief for rw/ro

2007-02-22 Thread Steve Lukas
PS: In between, I think 'variable' is too long, so: $code =~ s/variable/vari/g; IMHO C is better than C because C 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);> i

Relief for rw/ro

2007-02-21 Thread Steve Lukas
of writing things > like: > > my @heredoc_stubs is context is rw = () > > so maybe there's some general syntactic relief for rw/ro that is > orthogonal to everything else. But that means it wouldn't be a > trait, a type, a sigil, or a twigil, if it's really