Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting feet wet with hashes
by dragonchild (Archbishop) on Oct 11, 2001 at 21:58 UTC | |
|
Re: Getting feet wet with hashes
by arturo (Vicar) on Oct 11, 2001 at 21:55 UTC |