Config-Model

 view release on metacpan or  search on metacpan

lib/Config/Model.pm  view on Meta::CPAN

         'type' => 'leaf',
         'upstream_default' => '0',
         'value_type' => 'boolean',
         'write_as' => ['no', 'yes']
       },
       'ENCRYPT',
       {
         'choice' => ['no', 'maybe', 'yes'],
         'description' => 'encrypt popcon submission.',
         'help' => {
           'maybe' => 'encrypt if gpg is available',
           'yes' => 'try to encrypt and fail if gpg is not available'
         },
         'summary' => 'support for encrypted submissions',
         'type' => 'leaf',
         'upstream_default' => 'no',
         'value_type' => 'enum'
       },
       # [etc ...]
     ],
     'rw_config' => {
       'backend' => 'ShellVar',

lib/Config/Model/models/PopCon.pl  view on Meta::CPAN

      },
      'ENCRYPT',
      {
        'choice' => [
          'no',
          'maybe',
          'yes'
        ],
        'description' => 'encrypt popcon submission. Eventually, this feature will be enabled by default.',
        'help' => {
          'maybe' => 'encrypt if gpg is available',
          'yes' => 'try to encrypt and fail if gpg is not available'
        },
        'summary' => 'support for encrypted submissions',
        'type' => 'leaf',
        'upstream_default' => 'no',
        'value_type' => 'enum'
      },
      'MAILTO',
      {
        'description' => 'Specifies the address to e-mail statistics to each week.',
        'summary' => 'survey e-mail',

lib/Config/Model/models/PopCon.pod  view on Meta::CPAN

=back



Here are some explanations on the possible values:

=over

=item 'maybe'

encrypt if gpg is available

=item 'yes'

try to encrypt and fail if gpg is not available

=back



=head2 MAILTO - survey e-mail

Specifies the address to e-mail statistics to each week. I< Optional. Type uniline.  > 

=over 4



( run in 1.082 second using v1.01-cache-2.11-cpan-df04353d9ac )