logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Rex::Helper::Rexfile::ParamLookup - A command to manage task parameters.

Lookup

       First param_lookup checks the task parameters for a valid parameter. If none is found and if a CMDB is
       used, it will look inside the cmdb.

       If your module is named "Rex::NTP" than it will first look if the key "Rex::NTP::param_name" exists. If
       it doesn't exists it checks for the key "param_name".

perl v5.40.0                                       2025-02-06             Rex::Helper::Rexfile::ParamLookup(3pm)

Name

       Rex::Helper::Rexfile::ParamLookup - A command to manage task parameters.

       A command to manage task parameters. Additionally it register the parameters as template values.

       This module also looks inside a CMDB (if present) for a valid key.

Synopsis

        task "setup", sub {
          my $var = param_lookup "param_name", "default_value";
        };

See Also