Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Simple Blackjack progam help

by moritz (Cardinal)
on Oct 13, 2012 at 17:48 UTC ( #998863=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warning;
    
  2. or download this
    if ($another == 'y')
    
  3. or download this
    my $another = <STDIN>;
    chomp $another;
    if ($another eq 'y') {
        ...
    }
    
  4. or download this
    $draw1 = int &draw; 
    
  5. or download this
    sub draw {
      $draw = int rand(10);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998863]
help
Chatterbox?
[Corion]: r@j: But single quotes do not interpolate anything. print $Process; outputs something different than print '$Process';.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-10-23 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (280 votes). Check out past polls.

    Notices?