Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Perl can do it, take 1 (sentence generation)

by wolv (Monk)
on Jun 23, 2005 at 20:02 UTC ( #469495=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use v6;
    
    sub generate {
    ...
        when %dict { generate %dict{$_}.pick }
        default    { [ $phrase ] }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2020-06-01 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?