What factors do you take into consideration to decide if Perl is a suitable programming language for a situation?
Detailed Explanation
If the project requires OOP programming but requires faster execution
If the application to be developed is web based, Perl provides a lot of flexibility in programming such applications and is most popularly used.
Cost – As PERL is free, we can save on the cost of acquiring license for the programming language.
If the deadline is near, we can use CPAN, the Comprehensive Perl Archive Network, which is one of the largest repositories of free code in the world. If you need a particular type of functionality, chances are there are several options on the CPAN, and there are no fees or ongoing costs for using it.
How would you ensure the re-use and maximum readability of your Perl code?
modularize code and include them where required using the “use” command
use subroutines or functions to segregate operations thereby making the code more readable
use objects to create programs wherever possible which greatly promotes code reuse
include appropriate comments as and when required
eliminate any dereferencing operator
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts