--- Animator <[EMAIL PROTECTED]> wrote: > $ perl -we '$#%a' > > 4 bytes, 8 warnings = 2 warnings / bytes
Too easy to be true :) > Alistair McGlinchy wrote: > > Puzzle: Write a one-liner longer than (say) 3 > bytes that can improve on 0.77 distinct warnings per > byte of code. The program should be -c valid, output > nothing without -w and sound the alarm as much as > possible with -w. Emphasis on "output nothing without -w": % perl -e '$#%a' Operator or semicolon missing before %a at -e line 1. Ambiguous use of % resolved as operator % at -e line 1. Illegal modulus zero at -e line 1. It is still -c valid though. --Ala __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail