On Mon, Mar 07, 2005 at 03:43:19PM +0100, Aldo Calpini wrote:

> don't know if it helps, but I guess that you can also write it like 
> this, if you prefer:
> 
>     sub greeting(Str $person) {
>         returns Str;
>         is export;
>         "Hello, $person";
>     }
> 
> (this guess is based on something I recall having read in A12 about 
> classes; if my guess is wrong, I'll be happy to stand corrected :-).

On reflection, I see why that probably works.  I also pray that I
never have to maintain code that uses it, because it seems very
misleading. .

--Dks
-- 
[EMAIL PROTECTED]

Reply via email to