Ovid
Ovid
Also: > Though again, for accessing fields of parent classes/roles, it might be helpful to have the class name as well ... If `builtin::reftype $some_instance` return `OBJECT`, would it make...
Thanks for the clarifications! How would `deconstruct_object` handle this? ```perl my $thing = ... ; class MyThing { use DBI; field $dbh { DBI->connect(...) }; method foo ($bar) { if...
[As mentioned here](https://github.com/Ovid/Cor/issues/62#issuecomment-1176315897), I would much prefer if `deconstruct_object` either mark the data read-only or clone it (or COW) to avoid inevitable bugs when the internal state of the object...
> Safest I think would be to make copies at first, and if someone finds it to be too slow for serialisation purposes, we can revisit the idea and either...
@abraxxa By default, no. Constructor args are for creating an instance. You can get make this work with an alternate constructor, but generally, it's good practice—if you must use class...
@jgamble Done! Thanks for the suggestion. Also, there's another doc I'm not linking it in the guide because it would be a distraction, but you might find [the make_immutable options](https://metacpan.org/pod/Class::MOP::Class#$metaclass-%3Emake_immutable(%options))...
@jjn1056 Porting the Moose tutorial actually is a great idea. I just avoided it because of time constraints. It would also be interesting because it would show the limitations of...
@abraxxa I know where you're coming from, but we've been arguing over the color of this particular bikeshed for years. It went from `has` to `slot` to `field`, with many...
@leonerd I've assigned this to you not because I expect you to do all of this, but because I wanted to be sure that you're away of this checklist and...
For now, skipping documenting differences between Corinna and `Object::Pad` because the latter is a fast moving target and the documentation will always be out of date.