DigitalKitty has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w use strict; my %staff = ( Mike => { age => 27, skills => "python, java, bioinformatics, biochemistry", phone => '213.xxx.xxxx', email => 'xxx@xxx.xxx', }, Cindy => { age => 23, skills => "perl, java, bioinformatics, microbiology", phone => '213.xxx.xxxx', email => 'xxx@xxx.xxx', }, Katie => { age => 24, skills => "perl, java, C, XML, " . "MySQL, PHP, " . "bioinformatics, genetic programming,\n" . "chemical analysis", phone => '310.xxx.xxxx', email => 'xxx@xxx.xxx', }, Carl => { age => 25, skills => "Python, PHP, postgresql, bioinformatics, biochemistry" +, phone => '310.xxx.xxxx', email => 'xxx@xxx.xxx', }, Michelle => { age => 31, skills => "bioinformatics, biochemistry, molecular biology", phone => '415.xxx.xxxx', email => 'xxx@xxx.xxx', }, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building a hash of employees.
by artist (Parson) on Jul 02, 2003 at 06:55 UTC | |
by tomhukins (Curate) on Jul 02, 2003 at 22:02 UTC | |
|
Re: Building a hash of employees.
by archon (Monk) on Jul 02, 2003 at 06:25 UTC | |
|
Re: Building a hash of employees.
by djantzen (Priest) on Jul 02, 2003 at 06:30 UTC | |
|
Re: Building a hash of employees.
by Skeeve (Parson) on Jul 02, 2003 at 10:39 UTC | |
|
Re: Building a hash of employees.
by rdfield (Priest) on Jul 02, 2003 at 09:30 UTC | |
|
Re: Building a hash of employees.
by Mr. Muskrat (Canon) on Jul 02, 2003 at 13:58 UTC | |
|
Re: Building a hash of employees.
by NetWallah (Canon) on Jul 02, 2003 at 16:33 UTC |