Re: Puzzle: Warnings Golf

2004-09-13 Thread Ala Qumsieh
--- 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

Re: Puzzle: Warnings Golf

2004-09-13 Thread Animator
My first guess: $ perl -wle 'a+$#' Unquoted string "a" may clash with future reserved word at -e line 1. Use of $# is deprecated at -e line 1. Useless use of addition (+) in void context at -e line 1. Use of uninitialized value in addition (+) at -e line 1. Argument "a" isn't numeric in addition (