Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Using a base module with a required version

by Corion (Patriarch)
on Aug 03, 2019 at 06:26 UTC ( [id://11103792]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Using a base module with a required version
in thread Using a base module with a required version

I think using array refs would be a good API for that.

Since parent has basically no reusable moving parts, simply copying the code and modifying it is the best approach.

I'm reluctant to modify parent itself, as the code is fairly simple as it is and it has the chance of breaking a lot of things.

  • Comment on Re^5: Using a base module with a required version

Replies are listed 'Best First'.
Re^6: Using a base module with a required version
by davido (Cardinal) on Aug 03, 2019 at 06:30 UTC

    My thoughts exactly: Copy what is there to a new module, add the versioning functionality, verify no regressions against existing test suite, and of course shoot for 100% coverage on new features.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11103792]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found