> How do I simulate an array of structures in perl?
my @array = \(%struct1, %struct2, %struct3);
or something like that anyway. You learning or trying
to convert C code into Perl? Compared to C, you don't
use an array as often in Perl - but hashes.
E.g.
my %records = (
'id0001' => {
name => "Jonathan",
email => "[EMAIL PROTECTED]"
},
'id0002' => {
name => "Roy Peters",
email => "[EMAIL PROTECTED]"
}
};
print $records{id0001}{name};
etc etc...
Jonathan Paton
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]