User Tools

Site Tools


ower_own_perl_wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ower_own_perl_wiki [2008/09/29 03:00] cs243081ower_own_perl_wiki [2008/09/29 03:02] (current) cs243081
Line 62: Line 62:
 Here's a couple of things you ought to know to fully understand the code: Here's a couple of things you ought to know to fully understand the code:
  
-  * To define a hash, a percent (%) symbol is used before the name (i.e %myhash).  A hash is like an arrays except that they link a key to a value and the key is unique.+  * A hash is like an arrays except that they link a key to a value and the key is unique.
   * $_ is a special perl variable known as the default or implicit variable.  In our example below it'd be the implicit value of the current @array1 item.    * $_ is a special perl variable known as the default or implicit variable.  In our example below it'd be the implicit value of the current @array1 item. 
  
ower_own_perl_wiki.1222657201.txt.gz · Last modified: 2008/09/29 03:00 by cs243081

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki