CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] "exists" if you just have hash reference?: Edit Log



perlFun
Novice

Jun 19, 2013, 11:34 AM


Views: 543
Re: [FishMonger] "exists" if you just have hash reference?

Thank you so much! In general, if I have an expression that will be a reference, can I do this where I put curly brackets around it to dereference? (or I'm assuming arrays use hard brackets?) Like say the following hash %hash contains references to arrays. Could I do something like

my @arr = @[ $hash->{$aKey} ]


(This post was edited by perlFun on Jun 19, 2013, 11:36 AM)


Edit Log:
Post edited by perlFun (Novice) on Jun 19, 2013, 11:36 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives