Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Useless unless

by jdporter (Paladin)
on Aug 08, 2005 at 15:55 UTC ( [id://481920]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foo() if $x;
    bar() unless $x;
    
  2. or download this
    {                  | for my $b ( $x )   | for $x -> my $b
      my $b = $x;      | {                  | {
      foo() if $b;     |   foo() if $b;     |   foo() if $b;
      bar() unless $b; |   bar() unless $b; |   bar() unless $b;
    }                  | }                  | }
    
  3. or download this
    foo() else bar() if $x;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found