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

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2015-07-29 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (261 votes), past polls