Help for this page

Select Code to Download


  1. or download this
    package Module;
    use strict;
    use Exporter;
    ...
     print "$food is food";
    }
    1;
    
  2. or download this
    use Module qw(:all);
    
    food('grapes');
    food;
    
    # this works fine.
    
  3. or download this
    use Module qw(:all);
    
  4. or download this
    Undefined subroutine &Module::Module2::div called at /xxxxx/Module/Mod
    +ule2.pm line xxx