http://www.perlmonks.org?node_id=1012832


in reply to Re: Golf: Sudoku solving
in thread Golf: Sudoku solving

$_=$`.$_.$'.<>;split//;${/[@_[map{$i-($i="@-")%9+$_,9*$_+$i%9,9*$_%26+ +$i-$i%27+$i%9-$i%3}0..8]]/o||do$0}for/0/||print..9

Dear Monks, I need your help

I don't understand the "split" statement: no return value, apparently no side effect. Reading split was not helpful... :-/

Another thing: this solver works fine on debian but loop on win xp (strawberryperl 5.14.2.1)

UPDATE (solved):Thanks to BrowserUk, tobyink and eyepopslikeamosquito. Very clear and fast answers. FYI, in my case, difference between debian and winxp was in fact, between perl 5.8.8 and 5.14.2.1.

English is not my mother tongue.
Les tongues de ma mère sont "made in France".