Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Rex::Helper::Rexfile::UsermContributed PerRex::Helper::Rexfile::ParamLookup(3)

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";
	};

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.32.0			  2020-08-Rex::Helper::Rexfile::ParamLookup(3)

NAME | SYNOPSIS | LOOKUP

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Rex::Helper::Rexfile::ParamLookup&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help