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

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x