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

Re^2: Others studying the Monastery: (23)

by papidave (Monk)
on Feb 02, 2009 at 20:20 UTC ( #740807=note: print w/ replies, xml ) Need Help??

in reply to Re: Others studying the Monastery: (23)
in thread Others studying the Monastery: (23)

If your example were correct, wouldn't you simply do something like:

my @terms =('studying in', 'musing over', 'rifling through', 'threading camels through a needle at' ); printf "Others %s the Monastery", $words[ int rand @words ];
and get the desired result? I'm going to guess that the terms must come from a whitespace-delimited (undisclosed) storage location that doesn't parse phrases properly. But then again, it's only a guess, and I could be entirely wrong...

Comment on Re^2: Others studying the Monastery: (23)
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-11-25 15:00 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (679 votes), past polls