in reply to Style question - Modify passed arged if void context?

That's one reason I really like Ruby. You can do things like obj.meth! that denote that the meth method operates in-place. Self-documenting code. Update: the "!" is allowed in method names, and does not enforce in-place modification, but it is merely a convention.

Oh. PerlMonks.

I have no problem with it, so long as the behavior is documented.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;