Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to perl script to extract data

mnanjala created the topic: how to perl script to extract data

Hi All,

Below are the contents in the test.txt file

id name adress
1 rajesh pune
2 pravin puttur
3 bani banglore

Now can anybody write perl script to extract data based on id ?

Example if id is 1 it should print rajesh from pune and so on

Thanks
Pravin

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x