In this assignment, you will learn the advantages of using Perl over C.
Using the Online Library or the Internet, research the advantages of using Perl.
On the basis of your research, complete the following tasks:
All the functionalities provided by Perl are also provided by C in one way or the other. Discuss, why then, according to you, is Perl preferred to C? ? Are there specific cases in which Perl works better than C? Are there cases where C is preferred?
Hint: You can address issues such as code size to implement a particular task, platform dependence, and so on.
Write a Perl program that prompts for an input filename, an output filename, a search pattern, and a replacement string, and replaces all occurrences of the search pattern with the replacement string while copying the input file to the output file. Suggest a possible application for the program you wrote.
Criteria for grading
Quality of initial posting
Writing mechanics (spelling, grammar, APA) and information literacy