June 2002 ModuleMaker Back Slide 18 Forward

ExtUtils::ModuleMaker::Licenses::Local


my %licenses =

              (

               looselips => { function => \&License_LooseLips,

                              fullname => 'Loose Lips Copyright, not to share'

                            },

              );

  • Holds local or company approved licenses
  • Add an entry for the new licence to %licenses with a callback to the function that does the work and a full name to display in interactive scripts using ExtUtils::ModuleMaker
  • Local is called before Standard so you can reuse a license name if needed, but that really is not polite
  • The callback function will return a reference to a hash holding the copyright and license. And example is shown on the next slide


Copyright © 2001-2002 GlaxoSmithKline Back Contents Forward