Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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.

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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2020-02-26 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (117 votes). Check out past polls.

    Notices?