Re: shuffling cards
Amichai Teumim wrote:
I want to shuffle a deck of cards and then print out the top five cards.
I want to learn this, so please provide me with hints and tips as
opposed to plain solutions if possible please.
perldoc -q shuffle
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.
Relevant Pages
- Re: Perl style examples (summary)
... For CGI: http://users.easystreet.com/ovid/cgi_course/ (John W. Krahn) ... "Perl Best Practices" by Damian Conway ... Janet Goldstein, Christian Winter, Adrian Howard. ... (comp.lang.perl.moderated) - Re: combining data from more than one file...
... > sequence data in FILE 1 to an output file. ... > next organism in FILE 1 and search for that next organism in the other ... I would just like either hints / ... I am eagerly awaiting my "PERL ... (perl.beginners) - Re: regular expression
... Thanks John. ... > I am looking for help on a PERL regular expression that can do the ... Make sure that the string is 20 chars or else match should fail. ... If you are not the intended recipient, ... (perl.beginners) - Re: how to pass array and varaible
... John and Gunnar, ... > Any arguments passed in show up in the array @_. ... > of Perl created the element whether or not the element was assigned to.) ... > Assigning to the whole array @_ removes that aliasing, ... (perl.beginners) - Re: combining array refs
... > John W. Krahn wrote: ... >>> what is the most effecient way to combine multiple array refs into one ... > You might want to Benchmark this. ... > I know from the perl cookbook that joining two hashes can be done this ... (perl.beginners) |
|