Thank you all for your solutions. I think this is the most simple.
Octavian
- Original Message -
From: "Eden Cardim" <[EMAIL PROTECTED]>
To: "The elegant MVC web framework"
Sent: Monday, March 12, 2007 2:39 PM
Subject: Re: [Catalyst] assigning vars to $c-&
Eden Cardim wrote:
$c->stash( $hash );
is a little bit faster...
Correct.
--
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' [EMAIL PROTECTED] ', Web => ' http://474.at ' }
___
List: Catalyst@lists.rawmode.
On 3/12/07, Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]> wrote:
$c->stash( %$hash );
$c->stash( $hash );
is a little bit faster...
--
Eden Cardim
Instituto Baiano de Biotecnologia
Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas
Laboratório de Bioinformática
--
"y
Octavian Rasnita wrote:
I have a $hash hash reference and I want to add all its elements to the
stash. How can I do this? Do I need to use a loop and assign each
element one by one?
I have seen that it is not possible to use $c->stash = $hash;
Can I use something else than
foreach(keys %$ha
Carl Franks wrote:
On 12/03/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
I have a $hash hash reference and I want to add all its elements to the
stash. How can I do this? Do I need to use a loop and assign each
element
one by one?
I have seen that it is not possible to use $c->stash = $has
On 12/03/07, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
I have a $hash hash reference and I want to add all its elements to the
stash. How can I do this? Do I need to use a loop and assign each element
one by one?
I have seen that it is not possible to use $c->stash = $hash;
%{ $c->stash } =
On Monday 12 March 2007 06:31, Octavian Rasnita wrote:
> Hi,
>
> I have a $hash hash reference and I want to add all its elements to the
> stash. How can I do this? Do I need to use a loop and assign each element
> one by one?
>
> I have seen that it is not possible to use $c->stash = $hash;
>
> Ca
Hi,
I have a $hash hash reference and I want to add all its elements to the
stash. How can I do this? Do I need to use a loop and assign each element
one by one?
I have seen that it is not possible to use $c->stash = $hash;
Can I use something else than
foreach(keys %$hash) {
$c->stash->{$_