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

Re: Anonymous classes

Thread Previous | Thread Next
From:
Simon Cozens
Date:
May 29, 2005 07:53
Subject:
Re: Anonymous classes
Message ID:
8764x23wz8.fsf@alibi.simon-cozens.org
iblech@web.de (Ingo Blechschmidt) writes:
> I think the only thing you're missing are two braces:
>   $.request_class = class is Foo::Request {};

Thank you; then how do I put methods into $.request_class?

-- 
"I will make no bargains with terrorist hardware."
-- Peter da Silva

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