[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgi-list
Subject:    Re: [CGI] Looking to convert values of hash to arrayref (anonymous)
From:       Tommy Butler <tommy () atrixnet ! com>
Date:       2003-11-06 21:17:41
[Download RAW message or body]


--- Jann Linder <jann@dinnerbroker.com> wrote:
> I need to convert a hash to a ref to array.
[snip
> this is what i kind of need, but the arrayref is only the keys:
> 
> [keys %oracle_seconds]
> which is not what i need.  I am guessing MAP is what i need?

try-
<perlcode>
   [values %oracle_seconds]
</perlcode>

=====
Tommy Butler <tommy@atrixnet.com>
phone: (817)-468-7716
6711 Forest Park Drive
Arlington, TX  76001
--
To unusbcribe, send an email contining the words: 'unsubscribe cgi-list' to the \
following email address: majordomo@jann.com

Archives of the following mailing lists are available at: http://www.perl.jann.com/
the CGI Mailing List
the mod_perl mailing list
the embperl mailing list
Searching, browsing and posting are available at http://www.perl.jann.com/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic