This has been seen to produce 3 of the 4 possibles.
perl -e"($_='987654321')=~s[(?!$)][pos()?(qw[+ - * /],('')x4)[rand 8]: +int(rand 2)?'':'-']ge while 2006!=eval;print;"
In reply to Re: Happy 2006 (Golf)
by BrowserUk
in thread Happy 2006
by Perl Mouse
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |