Padre::Config::Human(3pm)

Padre::Config::Human3pm

Padre configuration for personal preferences

Overview

This class implements the personal preferences of Padre's users. See Padre::Config for more information on the various types of preferences supported by Padre.

All human settings are stored in a hash as top-level keys (no hierarchy). The hash is then dumped in config.yml, a YAML file in Padre's preferences directory (see Padre::Config).

Methods

create

    my $config = Padre::Config::Human->create;

Create and return an empty user configuration. (Almost empty, since it will still store the configuration schema revision - see "version").

No parameters.

read

    my $config = Padre::Config::Human->read;

Load & return the user configuration from the YAML file. Return "undef" in case of failure.

No parameters.

write

    $config->write;

(Over-)write user configuration to the YAML file.

No parameters.

clone

    my $object = $config->clone;

Creates a cloned copy of the configuration object.

as_hash

    my $hash = $config->as_hash;

Creates a cloned copy of the configuration object as a plain hash reference.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0
  2. 7
  3. 8

From padre 1.00+dfsg-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.