perl -le ' @l=(1..49);@i= (1..9); sub z{ splice( @_,rand@ _,1);}sub Y{push@@, z@_;}*_=*l;Y@_;Y@_; Y@_;Y@_; Y@_;*_=* i;Y@_;Y@_;$,=" "; sub l{print+sort{ $a<=>$b} @_;}l+ splice (@@,0,5); l@@; '
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Euromillions oneliner
by thor (Priest) on Feb 03, 2006 at 22:14 UTC | |
|
Re: Euromillions oneliner
by explorer (Chaplain) on Feb 03, 2006 at 19:42 UTC | |
by olus (Curate) on Feb 03, 2006 at 21:32 UTC |