in reply to Re^6: Developing code to be a module (perl -lanse)
in thread Developing code to be a module
The item of code you have quoted is what is known as an example; if it were used in a professional environment you would write a unit test for it. Unit tests have a purpose; if someone comes along to improve the code, then they can verify that their changes do not screw it up in any way.
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Developing code to be a module (professionalism)
by Anonymous Monk on May 02, 2013 at 04:06 UTC |
In Section
Seekers of Perl Wisdom