http://qs321.pair.com?node_id=476231


in reply to Catalyst and the stash

Well, it's Perl, so there's more freedom but also more responsibility ;) Also, you can overwrite (for example) the "process" method of the template, get the template out of the arguments, and set the stash variable.

Personally, I never had any problem using the stash or organizing the passed data. More the other way, it gives great possibilities. Also, if modules write into the stash or use it, it's usually documented.

What I also like on Catalyst, if there's no other way than to look in the code, it's well written and easy to understand. My impression in #catalyst is also, that patches and ideas are very welcome, just to say.

p

Ordinary morality is for ordinary people. -- Aleister Crowley

Replies are listed 'Best First'.
Re^2: Catalyst and the stash
by Mutant (Priest) on Jul 20, 2005 at 08:26 UTC
    Well, it's Perl, so there's more freedom but also more responsibility
    Yep, I agree, I have no problem with the freedom being available, only with it being used irresponsibly.

    I guess this whole issue might just be due to the fact that forward() didn't support passing of parameters. Now that it does, maybe a lot of the support modules will be enhanced to take advantage of this.