Re: RFC 118 (v1) lvalue subs: parameters, explicit assignment, andwantarray() changes

[email protected] (Damian Conway) Mon, 28 Aug 2000 09:04:10 +1000 (EST)
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
   > How would you handle differentiating between safe-coding practices and
   > debugging type (internal) pre/post conditions?

Why would one bother?
A comment would serve to distinguish them, wouldn't it?

However, I have given thought to allowing conditions to be grouped,
and de-activated by group. This would probably meet your need.

	pre mymethod : group("safe-coding practice") { @_ > 0 }
	pre mymethod : group("debugging") { print @_, "\n"; }

Damian