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

Re: Ensuring Each If Statement Is Evaluated

by ignatz (Vicar)
on Oct 17, 2002 at 08:31 UTC ( [id://205955]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    
    ...
    } else {
        print "/\$bool: Nobody loves me, everybody hates me.\n";
    }
    
  2. or download this
    if ($bool) {
        print "/\$bool I'm true, so this get's printed.\n";
    } 
    ...
        print "/\$bool First, I want to think my manager...\n";
    
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://205955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-23 10:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found