Help for this page

Select Code to Download


  1. or download this
    use Exporter;
    our @ISA = qw(Exporter);
    ...
     
    our %EXPORT_TAGS;
    $EXPORT_TAGS{all} = [@EXPORT_OK];
    
  2. or download this
    our @EXPORT_OK = (@wpi_c_functions, @wpi_perl_functions);
    our %EXPORT_TAGS;
    ...
    $EXPORT_TAGS{wiringPi} = [@wpi_c_functions];
    $EXPORT_TAGS{perl} = [@wpi_perl_functions];
    $EXPORT_TAGS{all} = [@wpi_c_functions, @wpi_perl_functions];
    
  3. or download this
    our @EXPORT = qw(imgcopyright);
    
  4. or download this
    sub import {
        my ($class, %opts) = @_;
    ...
            *{"$pkg\::$sub_name"} = \&_plugins;
        }
    }