If...else

Perl example... (elsif instead of elseif)

 

if ($dog_poop_condition eq "Dead of Night") {

$do = "Walk away whistling";

   }

elsif ($dog_poop_condition eq "Snowy") {

$do = "Kick snow over poop";

   }

elsif ($dog_poop_condition eq "Back Hurts") {

$do = "Pretend to pick up poop";

   }

else {

$do = "Pick up poop";

   }

10 Ways to Know

10. You clicked on the link

9. You clicked on the link

8. You clicked on the link

7. You clicked on the link

6.You clicked on the link

5. You clicked on the link

4. You clicked on the link

3.You clicked on the link

2. You clicked on the link

1.You clicked on the link

Quit clicking on Top 10 lists! They don't contain any answers.