laziness, impatience, and hubris | |
PerlMonks |
Re^2: Golf: Replacing part of a string with "*"by japhy (Canon) |
on Aug 18, 2006 at 16:04 UTC ( [id://568211]=note: print w/replies, xml ) | Need Help?? |
Here's 25:
$string=~s/.(?=....)/*/g;
In Section
Seekers of Perl Wisdom
|
|