The stupid question is the question not asked | |
PerlMonks |
Re: Substitution or removing characters from a fileby JavaFan (Canon) |
on May 10, 2012 at 06:37 UTC ( [id://969753]=note: print w/replies, xml ) | Need Help?? |
Sure, just remove the newline:
Or Or but why would you? The two lines are easy to understand, and certainly more efficient that the latter single substitution.
In Section
Seekers of Perl Wisdom
|
|