krimdomu/Rex — pull request #47 by SvenDowideit (2012-05-26 07:21:14+00:00)
Title: I had a few issues with before/after for tasks that didn't exist

and tasks referenced locally to a module

ie

before 'not_there'

and

package Rex::Assembly;
task create, sub {
};
before create ...

this patch resolves it, extracts the duplicated code and also tells the user what's gone wrong

before it would die with an undefined var - so you might like to add a die..