---
name: "Padre::Constant"
section: "3pm"
platform: "linux"
package: "padre"
version: "1.00+dfsg-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Padre::Constant"
---

# Padre::Constant(3pm)

constants used by configuration subsystems

## NAME

Padre::Constant - constants used by configuration subsystems

## SYNOPSIS

```
    use Padre::Constant ();
    [...]
    # do stuff with exported constants
```

## DESCRIPTION

Padre uses various configuration subsystems (see `"Padre::Config"` for more information). Those systems needs to somehow agree on some basic stuff, which is defined in this module.

## CONSTANTS

### "WIN32", "MAC", "UNIX"

Operating Systems.

### "BOOLEAN", "POSINT", "INTEGER", "ASCII", "PATH"

Settings data types (based on Firefox types).

### "HOST", "HUMAN", "PROJECT"

Settings storage back-ends.

### "PADRE\_REVISION"

The SVN Revision (when running a development build).

### "PADRE\_BLACK", "PADRE\_BLUE", "PADRE\_RED", "PADRE\_GREEN", "PADRE\_MAGENTA", "PADRE\_ORANGE", "PADRE\_DIM\_GRAY", "PADRE\_CRIMSON", "PADRE\_BROWN", "PADRE\_WARNING", "PADRE\_ERROR"

Core supported colours.

### "CONFIG\_HOST"

DB configuration file storing host settings.

### "CONFIG\_HUMAN"

YAML configuration file storing user settings.

### "CONFIG\_DIR"

Private Padre configuration directory Padre, used to store stuff.

### "PLUGIN\_DIR"

Private directory where Padre can look for plug-ins.

### "PLUGIN\_LIB"

Subdirectory of `"PLUGIN_DIR"` with the path `"Padre/Plugin"` added (or whatever depending on your platform) so that Perl can load a `"Padre::Plugin::"` plug-in.

### "LOG\_FILE"

Path and name of Padre's log file.

### "NEWLINE"

Newline style (UNIX, WIN or MAC) on the currently used operating system.

## COPYRIGHT & LICENSE

Copyright 2008 - 2010 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.
