Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RFC: MooX::Role::Reconstruct (was MooX::Restore)

by boftx (Deacon)
on Nov 03, 2014 at 06:05 UTC ( [id://1105869]=perlmeditation: print w/replies, xml ) Need Help??

After quite a bit of playing around I have what I think might be a viable approach:

MooX::Role::Reconstruct

Of particular interest is test 05 and 06 in the t/subclasses directory.

I would appreciate thoughts on how it is implemented, how to improve the documentation, and how to expand the tests. I want to see how it plays with MooX::StrictConstructor in particular, but am unsure just how to include tests for that.

In the meanwhile, I hope someone finds this of interest. I expect to release it to CPAN within the week unless I receive a reason not to from my fellow monks or one of the Moo demi-gods.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
  • Comment on RFC: MooX::Role::Reconstruct (was MooX::Restore)

Replies are listed 'Best First'.
Re: RFC: MooX::Role::Reconstruct (was MooX::Restore)
by Arunbear (Prior) on Nov 03, 2014 at 10:38 UTC
    Hint: use pod2markdown to make the docs more obvious:
    pod2markdown lib/MooX/Role/Reconstruct.pm > README.md
    But of course that external page may change, so it's much better do describe here what the purpose of this module is.

      Hi Arunbear,

      Thanks for mentioning Pod::Markdown, it was new to me. But i'm curious why you prefer it in this case over simply:

      perldoc lib/MooX/Role/Reconstruct.pm
      Update: Ah, I see. A Readme in the root for users.. (github will also display it).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1105869]
Front-paged by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-24 17:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found