Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

if variants

by apotheon (Deacon)
on Oct 19, 2004 at 09:28 UTC ( #400446=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($foo == 7)
    {
         $foo++;
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    my $foo;
    ...
         $foo++;
    }
    print($foo);
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    my $foo;
    ...
         $foo++;
    }
    print($foo);
    
  4. or download this
    if ($foo == 7)
    {
         $foo++;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://400446]
Approved by Chady
Front-paged by rob_au
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2016-07-27 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (242 votes). Check out past polls.