in reply to Re^2: Returning all data from subroutine
in thread Returning all data from subroutine

i was trying to reason in my post, what would be the reason for returning anything from any sub if it can be dealt with in a sub? i think that is the question i was shooting for even tho my code didnt even show it. hopefully you see what i mean tho. EDIT: very good example code tho.
  • Comment on Re^3: Returning all data from subroutine

Replies are listed 'Best First'.
Re^4: Returning all data from subroutine
by GotToBTru (Prior) on Nov 05, 2014 at 05:47 UTC

    It is good programming practice to have such a subroutine report back if it was able to successfully perform its task, or pass back any exceptions or error messages that were generated.

    1 Peter 4:10