develooper Front page | perl.perl6.language | Postings from June 2005

Re: Ignoring parameters

Thread Previous | Thread Next
From:
Gaal Yahas
Date:
June 16, 2005 13:02
Subject:
Re: Ignoring parameters
Message ID:
20050616200136.GN14133@sike.forum2.org
On Thu, Jun 16, 2005 at 01:26:31PM -0600, Luke Palmer wrote:
> > Say I have a class method in FooClass, callable as FooClass.greet():
> > 
> >      method greet(Class $class: ) {
> >         say "Hello, FooClass!";
> >      }
> 
> Aside from the fact that I don't think this is the right way to
> specify class methods...

What do you think is the right way to specify them?

-- 
Gaal Yahas <gaal@forum2.org>
http://gaal.livejournal.com/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About