in reply to Using Subroutine Returns

As to your second question (or proto-question): passing the return value (or values) of one subroutine to another subroutine could be as simple as this:
other_subroutine(config('username'), 'other', 'stuff');
Much would depend on whether the  config() subroutine could return more than one item – but that's a discussion for another day.