Just another Perl shrine | |
PerlMonks |
Re^3: Data extraction with specific keywordsby thanos1983 (Parson) |
on Jan 19, 2018 at 11:26 UTC ( [id://1207511]=note: print w/replies, xml ) | Need Help?? |
Hello neeraj_kr, Welcome to the Monastery. I am bit confused here. I am not sure through your code sample and description what you are trying to do. Can you copy a few lines of input as a sample, and create a sample (hard-coded) of the desired output. I mean for example you have input:
Desired output would be:
Something like that, of course the sample above it is just an example but at least to give us a direction of what you are trying to do. Update: Based on your sample of code above your data is ' ' space separated but on your code you split the data with \t. Which one is the correct? Looking forward to your update, BR.
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|