> Because he wants the final string to be "Jokerack", why else?
> (Possibly a rack for storing jokes ;)
*gg*
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
I still don't understand why you have both lines in it!?
>s/J/Jack/;
>s/J/Joker/;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Martin Barth wrote:
I still don't understand why you have both lines in it!?
s/J/Jack/;
s/J/Joker/;
Because he wants the final string to be "Jokerack", why else?
(Possibly a rack for storing jokes ;)
--
Just my 0.0002 million dollars worth,
Shawn
"For the things we h
Thanks Christopher!
On 7/12/07, Boyle, Christopher <[EMAIL PROTECTED]> wrote:
You need to move a bracket
print "@startingdeck[0 .. 4]\n";
}<--- This should be above the print statement
}
print "@startingdeck[0 .. 4]\n";
You might also want to change the 99 to something e
You need to move a bracket
print "@startingdeck[0 .. 4]\n";
}<--- This should be above the print statement
}
print "@startingdeck[0 .. 4]\n";
You might also want to change the 99 to something else
to get a more RANDom seeming shuffle but you said this was a snippet so
that
Amichai Teumim wrote:
I'm still stuck with this. It shuffles the cards, then replaces the letter
representing the card (such as H = heart) with the word. Then it's meant to
print the top five cards (meanign the five cards that come first after the
shuffling).
It does that, 100 times.
1. Remove
On Jul 12, 10:33 am, [EMAIL PROTECTED] (Amichai Teumim) wrote:
> it's meant to
> print the top five cards (meanign the five cards that come first after the
> shuffling). Somethign like:
>
> 9 Heart 10 Heart J Heart Queen Heart King Heart 6 Diamonds
>
> This script prints out a whole bunch of stuff.