Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^5: Multiple strings in a fileby vinoth.ree (Monsignor) |
on Feb 10, 2015 at 18:34 UTC ( [id://1116218]=note: print w/replies, xml ) | Need Help?? |
Hi, Let see this code, file: Transformers robots in disguise I whip my hair back and forth I will catch a dog with a trap It prints the output as, I whip my hair back and forth I will catch a dog with a trap But as you want to match the 'Trap' first which is in the third line, should be printed first and 'Hair' should be printed next. Is that you wanted? All is well
In Section
Seekers of Perl Wisdom
|
|