Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^16: Addional "year" matching functionality in word matching script

by bms9nmh (Novice)
on Jul 01, 2016 at 14:20 UTC ( [id://1166998]=note: print w/replies, xml ) Need Help??


in reply to Re^15: Addional "year" matching functionality in word matching script
in thread Addional "year" matching functionality in word matching script

edit**

Replies are listed 'Best First'.
Re^17: Addional "year" matching functionality in word matching script
by bms9nmh (Novice) on Jul 01, 2016 at 15:02 UTC
    Actually it is starting to make more sense the longer I look at it.
      I can see that my  $value = $csv2hash{$csv2}; creates a variable from the words in titles stored in the csv2hash. What I'm not clear on is why is the hash is now written with a $ sign (denoting that it is a variable) rather than a % sign? Also why is $csv2 written in the curly brackets? When the hash was created it applied specifically to csv2, so why is there a need to define csv2 again in this line of code? Thanks

        See http://perl101.org/hashes.html, for example. (There are many other webpages that one can visit to get similar tutorials. This one was #3 in the list of search results when I Googled "hashes perl".)

        Hashes. They are simple. I give it a key, I get back a value. Very fast.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found