in reply to JAPK (just another perl koan)
in thread Is garbage collection the end?

Sorry, I'm a nitpicker.
Guess it's my INTP personality.

OO Koan:
if( $forest{trees}[rand]->falls() and not $one->hears() ) { /sound/ ? true : false; }

-- ar0n

Replies are listed 'Best First'.
RE: RE: JAPK (just another perl koan)
by mcwee (Pilgrim) on Jun 28, 2000 at 21:01 UTC
    Yesh! Very cool. I'm not a very OO kinda guy, but I think this suits the koan nicely. (tangent: I learned a little Japanesse a time ago, and was really struck by how OO that language is. Coincidence? I think you've struck something of-the-essence here, son.)

    The Autonomic Pilot; it's FunkyTown, babe.

RE: RE: JAPK (just another perl koan)
by halxd2 (Monk) on Jul 03, 2000 at 16:59 UTC
    I've been thinking and the Kloan should read: "...no one is there to hear it" So:
    if( $forest{trees}rand->falls() and !defined($forest{people}) { $_ =~ /sound/ ? true : false; }
      I'm replying to myself because my post looked so poor.
      if($forest{trees}rand->falls() 
      	and !defined($forest{people})
      {
         $_ =~ /sound/ ? true : false;
      }