The META.yml spec defines a "license" field. Module::Build will fill it in automatically if a license is defined in the Build.PL. E.g.:
name: Object-LocalVars
version: 0.14
author:
- David A Golden <dagolden@cpan.org>
abstract: |-
Outside-in objects with local aliasing of $self and object
variables
license: perl
[snip]
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.