Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

RE: RE: RE: Be a monkey!

by turnstep (Parson)
on Aug 30, 2000 at 23:08 UTC ( [id://30380]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: Be a monkey!
in thread Be a monkey!

> > create a perl script and periodically eval'ing the result?

> I simply use grep on my log file.

I meant how long for a monkey script to create a valid perl file...

Replies are listed 'Best First'.
RE: RE: RE: RE: Be a monkey!
by KM (Priest) on Aug 30, 2000 at 23:27 UTC
    Well, if you were to add numbers to the monkeys keyboard, all s/he would have to do is type a 1 :)

    How long it would take the monkey to write an interesting JAPH, is another story.

    Cheers,
    KM

RE (tilly) 4: Be a monkey!
by tilly (Archbishop) on Aug 30, 2000 at 23:13 UTC
    Oh, that happens immediately. You get a blank file right away and Perl has no problem figuring out what that means.

    The more interesting question is until it produces an interesting Perl file. And the answer to that is probably pretty long given that all lowercase letters and punctuation is missing. :-)

Re: RE: RE: RE: Be a monkey!
by mirod (Canon) on Feb 06, 2001 at 01:54 UTC

    Actually Dominus has an interesting theory that proves that it is more likely for monkeys to type a valid program in Perl than in most other programming languages.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://30380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 02:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found