in reply to Re: Your favourite gory detail...in thread Your favourite gory detail...
$foo='hello'; for(1..5){ $foo=~/(?=(.))/g; pos($foo)=pos($foo); print $1 } [download]