stevieb has asked for the wisdom of the Perl Monks concerning the following question:
My larger projects require params to be passed in via hashref for simplicity, but I'm wondering from a user perspective which is more convenient... storing the non-core params for continuous use, or reset the non vital ones so they have to be resent in.
If they are stored, it requires a reset on the params that you want changed (ie. you have to reset a parameter to false on a subsequent run with the same object). What's your opinion on storing or wiping params?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: User preference: To store params or not
by jeffa (Bishop) on Jul 28, 2015 at 22:46 UTC | |
by stevieb (Canon) on Jul 28, 2015 at 23:09 UTC | |
|
Re: User preference: To store params or not
by crusty_collins (Friar) on Jul 29, 2015 at 15:09 UTC | |
|
Re: User preference: To store params or not
by Laurent_R (Canon) on Jul 29, 2015 at 09:41 UTC | |
|
Re: User preference: To store params or not
by locked_user sundialsvc4 (Abbot) on Jul 29, 2015 at 13:18 UTC |