Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^6: (How) Do you document/test your private subroutines?

by tobyink (Canon)
on Nov 13, 2018 at 19:02 UTC ( [id://1225739]=note: print w/replies, xml ) Need Help??


in reply to Re^5: (How) Do you document/test your private subroutines?
in thread (How) Do you document/test your private subroutines?

Or worse still, you're writing a child class and carefully check that the parent class doesn't define _frobnicate; everything seems good. Then you install an upgrade of the parent class from CPAN, and it defines _frobnicate.

If the updated parent class had made frobnicate a public method then the problem would be pretty easy to track down, maybe even by just reading the Changes file. If the updated parent class had used my $_frobnicate = sub { ... }; this wouldn't be a problem to begin with.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2024-04-25 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found