Skip to content

Instantly share code, notes, and snippets.

@ferki
Created August 17, 2015 12:54
Show Gist options
  • Save ferki/58279035a478c633cd29 to your computer and use it in GitHub Desktop.
Save ferki/58279035a478c633cd29 to your computer and use it in GitHub Desktop.
passing values between tasks
use Rex -base;
task 'a', sub {
my $output_from_another_task = run_task 'b';
say $output_from_another_task;
};
task 'b', sub {
return 'I can pass scalars at least';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment