The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

papp-env - get/set/clear/display environment variables

SYNOPSIS

   papp-env --help

List all environment variables in name=value format (warning, might contain binary data):

   papp-env

List the value of a single environment variable (without trailing newline):

   papp-env myvar

Set some env-variables:

   papp-env var1=value1 var2=value2 "var3=value 3" var4="contains == equal!"

Unsetting instead of setting env-variables:

   papp-env -u var1 var2 var3

Combine almost all of the above:

   papp-env var=value printvar1 -u v2 v3 v4

Evaluate value as perl code rather than as strings:

   papp-env -e arrayvar="['val1', 'val2']" hashvar="{ a => 5, b => 7}"

DESCRIPTION

This program is used to query and set PApp environment variables.

Settings that are associated with specific PApp applications often can be used in PApp environment variables.

Environment variables are also useful for asynchronous communication between PApp applications and outside apps.

SEE ALSO

PApp.

BUGS

- no handling of binary data or perl-structures

AUTHOR

 Marc Lehmann <schmorp@schmorp.de>
 http://www.goof.com/pcg/marc/