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


in reply to Re: Friday Golf: All 2-digit combinations (wrong!)
in thread Friday Golf: All 2-digit combinations

40.
$n='00';/$n/ or$_.=$n while$n++<99;print
123456789 123456789 123456789 123456789

Update: your code still displays some bad entries. see below

010203040506070809111213141516171819222324252627282933343536...etc.
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/