Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Catalyst and the stash

by phaylon (Curate)
on Jul 19, 2005 at 18:53 UTC ( #476231=note: print w/replies, xml ) Need Help??

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.


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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://476231]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2023-09-21 08:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found