Think about Loose Coupling | |
PerlMonks |
Re: Newbie to PERL removing text from arrayby ansh batra (Friar) |
on Feb 14, 2012 at 12:09 UTC ( [id://953690]=note: print w/replies, xml ) | Need Help?? |
dude seems like your requirement is not generalized(specific).
you are filtering the numbers after first whitespace then in the second string you are taking alphabet 'a' also. and you are not taking the number after "Yes" generalize your problem and try to use regular expression to solve it.
In Section
Seekers of Perl Wisdom
|
|