Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 perusing the Monastery: (7)
As of 2014-10-22 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (114 votes), past polls