in reply to Slice misuse ?
You could also use printf, which expects its first argument to be a format string, like so:
printf "%s", ('abcd' =~ /(\w)\w(\w)/ )[0]; [download]