--- Shinya Hayakawa <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I am interested in recursive programming in Perl.
> There is a bit of code to determine whether a number
> is even or odd.

You did have to show off by using OO to slow things
down even further, didn't you?  :)  Having a recursive
inheritence tree is an interesting approach though.

> That's fun, isn't it?

Unfortunately, this isn't an original idea:

http://perl.plover.com/IAQ/IAQlist.html#how can i find out whether a number is odd

Jonathan Paton

=====
s''! v+v+v+v+  J r e P    h+h+h+h+ !s`\x21`~`g,s`^ . | ~.*``mg,$v=q.
 P ! v-v-v-v-  u l r e r  h-h-h-   !12.,@.=m`.`g;do{$.=$2.$1,$.=~s`h
 E !   v+v+v+  s     k e  h+h+     !`2`x,$.=~s`v`31`,print$.[$v+=$.]
 R !     v-v-  t H a c h  h-       !}while/([hv])([+-])/g;print"\xA"
 L !             A n o t           !';$..=$1while/([^!]*)$/mg;eval$.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Reply via email to