develooper Front page | perl.moose | Postings from March 2009

Re: Not inlining a constructor warning

Thread Previous
From:
Ovid
Date:
March 12, 2009 08:44
Subject:
Re: Not inlining a constructor warning
Message ID:
505007.86879.qm@web65710.mail.ac4.yahoo.com

----- Original Message ----

> From: Dave Rolsky <autarch@urth.org>

> >  __PACKAGE__->meta->make_immutable;
> 
> Make that:
> 
> __PACKAGE__->meta->make_immutable( inline_constructor => 0 );

Works like a charm.  Thanks :)

 
Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


Thread Previous


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