Const::Common::Generator - Auto generate constant package of Const::Common
use Const::Common::Generator; my $pm = Const::Common::Generator->generate( package => 'Hoge::Piyo', constants => [ HO => 'GE', FU => { value => 'GA', comment => 'fuga', }, PI => 3.14, ], ),
Const::Common::Generator is a module for generating constant package of Const::Common
$str = Const::Common::Generator->generate(%opt)
package
constants
Copyright (C) Songmu.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Songmu <y.songmu@gmail.com>
To install Const::Common::Generator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Const::Common::Generator
CPAN shell
perl -MCPAN -e shell install Const::Common::Generator
For more information on module installation, please visit the detailed CPAN module installation guide.