Help for this page

Select Code to Download


  1. or download this
        use Switch;
    
    ...
                case (\&sub)    { print "arg to subroutine" }
                else            { print "previous case not true" }
        }
    
  2. or download this
    use strict;
    use warnings;
    ...
            else        { print "I don't know what to do!\n" }
        }
    }