in reply to Lottery combinations golf

There ought to be plenty to be trimmed from this...but I haven't found it.

perl -lejoin('',1..pop)=~'(.).*(.).*(.).*(.).*(.).*(.)(?{print$1,$2,$3 +,$4,$5,$6})(?!)' 9

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!