in reply to Re^4: Recover a variable from a function
in thread Recover a variable from a function

Hi Chaoui05,

Sure, and I'd say the best approach depends on various things, such as whether or not I'm confident that the script will stay short enough that using globals (which I've done plenty of times) is acceptable. I just thought I'd use this opportunity to illustrate an approach for more complex scripts.

Regards,
-- Hauke D

  • Comment on Re^5: Recover a variable from a function

Replies are listed 'Best First'.
Re^6: Recover a variable from a function
by Chaoui05 (Scribe) on May 20, 2016 at 07:28 UTC
    I will try to have this in a corner of my head. Thanks !