and then print them by print"%hash1($test_name) \n";%hash1 = ($key=>i++;$test_name=>$element_one,$test_num=>$element_two) /*element_one and two are variable names that contain string and numbe +r respectively */
Edit Masem 2001-10-12 - Code Tags and formatting
In reply to Getting feet wet with hashes by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |