We don't bite newbies here... much | |
PerlMonks |
Re^3: Can you write a faster code to perform this task?by trizen (Hermit) |
on Sep 29, 2014 at 11:50 UTC ( [id://1102341]=note: print w/replies, xml ) | Need Help?? |
What about something like this?
Update: just to be sure, it would be safer to replace 'M' with something much exotic, like '\0', which should be OK, assuming that you're reading text files. (tr/M/\0/sr =~ tr/\0//)
In Section
Seekers of Perl Wisdom
|
|