Help for this page

Select Code to Download


  1. or download this
    # require outside the package so that its functions are 
    # NOT imported into the UtilLib namespace, so that other
    ...
    require mysql_wrapper_lib.pl;
    
    package UtilLib;
    
  2. or download this
    # File mysql_wrapper_lib.pl
    $foo = 123;
    1;
    
  3. or download this
    package One;
    use UtilLib;
    
    package Two;
    use UtilLib;
    
  4. or download this
    # File Mysql_wrapper.pm
    package Mysql_wrapper;
    ...
    
    $foo = 123;
    1;
    
  5. or download this
    package One;
    use Mysql_wrapper;
    
    package Two;
    use Mysql_wrapper;
    
  6. or download this
    package Mysql_wrapper;
    $foo = 123;
    ...
       # and the same for other variables...
    }
    1;