At 02:29 PM 6/15/01 +0900, Michael Lucas-Smith wrote: >Is there a hope at all of getting ^ in to the language as an alias for >return ? I think it's a useful short cut.. and I can't understand why it >isn't there already. After all, perl is all about achieving the most >with the least amount of work. It seems silly to have to type 5 extra >characters to describe a return when ^ is obvious enough. Michael, you can save one more character already. Without an explicit return, the value of the last evaluated expression is returned. You can write: def twice(x) 2*x end twice(4) --> 8 class Fixnum def odd? if self%2 == 0 false else true end end end 2.odd? --> false Bye, Luigi