Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: How to read the regular expression from another file?by vinoth.ree (Monsignor) |
on May 07, 2015 at 10:18 UTC ( [id://1125988]=note: print w/replies, xml ) | Need Help?? |
Sorry, Wrongly understood the question.
Another approach is read the file2 content and split each line based on ':', and save in a hash, key will be 'enable_pad','c_pad','b_pad',etc and other string as value. Read file1 and check each line exists in hash or not, if exists print it.
All is well. I learn by answering your questions...
In Section
Seekers of Perl Wisdom
|
|