1Rex::Helper::Rexfile::PUasrearmLCooonkturpi(b3u)ted PerlReDxo:c:uHmeelnpteart:i:oRnexfile::ParamLookup(3)
2
3
4

NAME

6       Rex::Helper::Rexfile::ParamLookup - A command to manage task
7       parameters.
8
9       A command to manage task parameters. Additionally it register the
10       parameters as template values.
11
12       This module also looks inside a CMDB (if present) for a valid key.
13

SYNOPSIS

15        task "setup", sub {
16          my $var = param_lookup "param_name", "default_value";
17        };
18

LOOKUP

20       First param_lookup checks the task parameters for a valid parameter. If
21       none is found and if a CMDB is used, it will look inside the cmdb.
22
23       If your module is named "Rex::NTP" than it will first look if the key
24       "Rex::NTP::param_name" exists. If it doesn't exists it checks for the
25       key "param_name".
26
27
28
29perl v5.32.1                      2021-03-0R6ex::Helper::Rexfile::ParamLookup(3)
Impressum