brayshakes has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; my $address{Bray} = { Name => 'Braden Mailloux', Str => 'kapellenstr. 1', EMail => 'brayshakes@gmail.com' }; my $email = $address{Bray}->{EMail}; print_address($address{Bray});
# perl data_structure_refs.pl syntax error at data_structure_refs.pl line 4, near "$address{Bray" Execution of data_structure_refs.pl aborted due to compilation errors.
Edit: g0n - code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: References with hashes
by chargrill (Parson) on Feb 15, 2007 at 04:50 UTC | |
|
Re: References with hashes
by syphilis (Archbishop) on Feb 15, 2007 at 04:47 UTC | |
|
Re: References with hashes
by fenLisesi (Priest) on Feb 15, 2007 at 08:47 UTC | |
|
Re: References with hashes
by DrHyde (Prior) on Feb 15, 2007 at 10:11 UTC | |
|
Re: References with hashes
by brayshakes (Acolyte) on Feb 15, 2007 at 05:04 UTC | |
by SheridanCat (Pilgrim) on Feb 15, 2007 at 05:09 UTC | |
by eric256 (Parson) on Feb 15, 2007 at 05:10 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |