Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using IF and OR, I'm sure there is a better way

by GrandFather (Saint)
on Dec 14, 2005 at 23:33 UTC ( [id://516802] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
      {
      print "case 1, 2 or 3\n"
      }
    
  2. or download this
    case 1, 2 or 3