in reply to how to return info from functions
You could use the default variable:
rollback($_) if defined ($_ = methodfunction()); [download]