Damian Conway wrote: > Mark Overmeer wrote: > Would the following syntax suffice? > > method isValidPostalCode(str $postalcode) returns bool {...} > =PURPOSE Check weather the postal code confirms to the standards > =ARG $postalcode > a string with blanks trimmed. > =RETURN > the string is not cleaned-up. > > Because you can already do precisely that in the current design of Pod 6.
I really like that example. And it makes me think that some of this discussion results from insufficient Pod 6 knowledge, simply because we haven't read enough real Perl 6 that is annotated with Pod 6. So everybody reading this is now condemned to write an OO Perl 6 module, and document it with Pod 6 ;-) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/
signature.asc
Description: OpenPGP digital signature