Question: Write a Perl program that captures part of the input file. Find and return any phone numbers in the form ( 2 1 2 )

Write a Perl program that captures part of the input file. Find and return any phone numbers in the form (212)237-8924 and print them. Test your program with your own input file containing phone numbers. Your program should write the result to an output file, and you need to print both input and output files along with your source code with proper explanation of your code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!