I think you want $structs[0]->{name} (the $structs[0]->name looks to Perl like $structs[0]->name(), that is, a method call on the first element of @structs).
In reply to Re: Accessing an array of structs
by kyle
in thread Accessing an array of structs
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |