Make this program in PERL programming, we can use (file, references to array, hash, associative arrays, modules, exporting) Introduction Let us consider the case of the customer database of a supermarket. The problem of searching is examined. It is considered that the database is ready and there is not update operations. The purpose is to search the records using as key the phone number, or the email. Problem Search the database and find the customers. File (customers.txt) Sonto,Peter (508)-555-8930 sontop@aol.com Wood,Ann (510)-666-3450 wooda@zen.org Jones,Jo (230)-552-3420 jonesj@cany.org Jeter,Lin (220)-333-3220 leterl@rain.com Search: Giving the email you can get all the information . You can exit from searching by typing : q (quit). Hint: You have to create the file by a notepad
Make this program in PERL
Introduction
Let us consider the case of the customer
Problem
Search the database and find the customers.
File (customers.txt)
Sonto,Peter (508)-555-8930 sontop@aol.com
Wood,Ann (510)-666-3450 wooda@zen.org
Jones,Jo (230)-552-3420 jonesj@cany.org
Jeter,Lin (220)-333-3220 leterl@rain.com
Search:
Giving the email you can get all the information . You can exit from searching by typing : q (quit).
Hint: You have to create the file by a notepad
Unlock instant AI solutions
Tap the button
to generate a solution