Skip to content

Instantly share code, notes, and snippets.

@krimdomu
Created March 6, 2014 16:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krimdomu/9394089 to your computer and use it in GitHub Desktop.
Save krimdomu/9394089 to your computer and use it in GitHub Desktop.
task params
task "mytask", sub {
my $param = shift;
say $param->{param1};
say $param->{param2};
};
# call with:
# rex mytask --param1=value1 --param2=value2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment