Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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: (12)
As of 2015-07-31 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls