Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 75459
Status: rejected
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.0402
Fixed in: (no value)



Subject: Why would you pass an argument to a builder?
Download (untitled) / with headers
text/plain 599b
Moose::Cookbook::Recipe9 talks about builder methods and says... Also, as a bonus, we'll pass @_ through, so subclasses can override the method to pass additional options to the constructor. No example of why you'd do this is given, and it might imply to users that Moose will do something with it. It should be clarified with a common use case and moved into its own section to avoid muddling the subclassing discussion. If there is no common use case, it should be removed to avoid muddling the recipe. I guess to start... is there a good, common use case worth putting in the recipe?
Sorry, Google sent me to a really old copy of the Moose docs. Please ignore this.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.