[Catalyst] difficulty in assigning an array to a stash
    Felix Antonius Wilhelm Ostmann 
    ostmann at websuche.de
       
    Mon Nov 12 09:12:08 GMT 2007
    
    
  
jagdish eashwar schrieb:
> I am
> getting only the last value in the tt2 template.
no, you count the array and save it into the scalar. your problem: count 
and last element are the same ;)
use [@array] or \@array to save the reference.
> How can I get all the
> values in the array into the stash without having to do it explicitly?
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
>
>   
-- 
Mit freundlichen Grüßen
Felix Antonius Wilhelm Ostmann
--------------------------------------------------
Websuche   Search   Technology   GmbH   &   Co. KG
Martinistraße 3  -  D-49080  Osnabrück  -  Germany
Tel.:   +49 541 40666-0 - Fax:    +49 541 40666-22
Email: info at websuche.de - Website: www.websuche.de
--------------------------------------------------
AG Osnabrück - HRA 200252 - Ust-Ident: DE814737310
Komplementärin:     Websuche   Search   Technology
Verwaltungs GmbH   -  AG Osnabrück  -   HRB 200359
Geschäftsführer:  Diplom Kaufmann Martin Steinkamp
--------------------------------------------------
    
    
More information about the Catalyst
mailing list