Help for this page

Select Code to Download


  1. or download this
    #!/your/perl/here
    use strict;
    ...
    { 
        print "else3:  $rand\n"; 
    }
    
  2. or download this
    elsif ( ( $rand < rand ) { print "elsif2: $rand\n"; }
    
  3. or download this
    syntax error at C:\if_elsif.pl line 12, near ")
    {"
    
  4. or download this
    elsif ( $rand < _rand ) { print "elsif2: $rand\n"; }
    
  5. or download this
    Bareword "_rand" not allowed while "strict subs" in use at C:\if_elsif
    +.pl line 7.
    
  6. or download this
    Argument "_rand" isn't numeric in numeric lt (<) at C:\Perl\perlmonks\
    +if_elsif.pl line 7.